NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Configurable 'Word left' and 'Word right' editor functions


Joined: 27 Feb 2004
Posts: 33
Location: Netherlands / France
Reply with quote
When using Ctrl-Left and Ctrl-Right keys, I find myself very often jumping further than I would like, and then walking back char by char, because no fast cursor movement will put me at the beginning of an operator!

Wouldn't it be nice to be able to quickly jump to the next token instead?

Consider this:
if (|myFunction() <= (' ')) {
// Do something
}
where '|' indicates the cursor position.

Suppose you want to change '<=' for '>='. Pressing Ctrl-RightArrow puts at the end of the line! That's too far! Ctrl-Left and we're back at the 'm'. That's even further away!

One could imagine Word left and Word right to be configurable, so one could enter which characters are 'grouped' or 'skipable', or to have a separate 'Token Left' and 'Token Right' available. Either way, I could then define my Ctrl-Right and Ctrl-Left keys to stop at operators too.

I'd also very much like to see a 'End of Word'.
View user's profileFind all posts by dinoSend private messageVisit poster's website
Configurable 'Word left' and 'Word right' editor functions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic