On 07/31/2007 05:45:32 AM, Neil Hodgson wrote:
> Nick Treleaven:
> 
> > I made a patch for GTK Scintilla to move to the end of a word e.g.
> when
> > pressing Ctrl-right (instead of the start).
> 
>    SCI_WORDRIGHTEND and SCI_WORDRIGHTENDEXTEND are already defined in
> Scintilla. The normal mechanism in Scintilla is to define variant
> commands rather than a command that adapts to the platform. This
> allows applications to decide whether to map keys to platform-
> specific
> behaviour or to choose the same effect on all platforms.
> 
OK, great - I just got around to doing this instead. Should I make a 
patch to add SCI_DELWORDRIGHTEND for Editor.cxx? (If so, should there 
be a SCI_DELWORDLEFTEND for symmetry?). Then it's easy to setup 
Scintilla for Gtk-like word boundary handling.

Thanks,
Nick

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to