Input cursor movement according to camel case

Ken
2011-03-20
2012-11-13
  • Ken

    Ken - 2011-03-20

    Ctrl + left/right currently moves the input cursor by a whole word.
    Sometimes it would be convenient to move by camel case, say by Alt + left/right. E.g. ^fooIndentifier to foo^Identifier and to fooIndentifier^ (where ^ is the input cursor's position)

    Hope this becomes included in the feature list.

     
  • Dave Brotherstone

    You can.  Set the shortcuts in the shortcut mapper (Scintilla Commands tab) for SCI_WORDPARTLEFT, SCI_WORDPARTRIGHT.   The "EXTEND" versions of these shortcuts normally have the shift key added, as they "extend" the selection, so it's natural to hold shift down in these cases.

    Dave.

     
  • Ken

    Ken - 2011-03-20

    thanks! i don't know this

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks