Menu

Definition of "word" in Notepad++

2008-03-14
2012-11-13
  • Nobody/Anonymous

    Hello there,

    Thank you very much for this product, it's excellent!
    One thing that is taking some time to get used to, however, is its definition of "word", when you navigate or select word-by-word (e.g. CTRL+RIGHTARROW, or CTRL+SHIFT+RIGHTARROW).

    For instance, in virtually all Windows-based editors, if I position the caret at the beginning of a word and then press CTRL+SHIFT+RIGHTARROW, this selects the whole word _plus_ the trailing punctuation + space (or leading, depending on how you see it I guess). In Notepad++, instead, the selection stops right at the end of the word.
    This is possibly a scintilla thing, and I presume this is a Unix heritage (I think emacs also has a similar behaviour) but is this configurable? If not, can it please be made configurable?

    Many thanks.

     
    • Nobody/Anonymous

      I like it.

       
    • Nobody/Anonymous

      Neil on the Scintilla mailing list kindly suggested

      "Possibly Notepad++ is using SCI_WORDRIGHTENDEXTEND rather than SCI_WORDRIGHTEXTEND."

      http://groups.google.com/group/scintilla-interest/browse_frm/thread/157cdc24cbec4081

      Could someone please verify, and perhaps kindly offer this option in the Preferences please?
      Is this the right place for feature requests?

      Thanks much.

       
    • Nobody/Anonymous

      SCI_WORDRIGHTENDEXTEND and SCI_WORDRIGHTEXTEND _should_ be in thwe shortcutmapper under "Scintilla commands". Remap Ctrl-(Shift-)Arrow to something else and you should be set

       
MongoDB Logo MongoDB