Add key triggerable action to move the cursor to the end of a word
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
When reworking or porting code I often see me using Ctrl+(Shift+)+Left/Right to mark words that I need to replace, copy or whatever. In some situations the next position where Ctrl+Right stops is rather far away from my intended position so I need to correct the cursor "manually". In such situations a possibilty to move the cursor at the end of a word would be very helpful (it doesn't even need a default keyboard combination, because I could assign that myself).
Additional information:
Example situation (converting a C fragment to Pascal):
double someVar; // some comment
Basically I intend the following:
* Position cursor on begin of "double"
* Select "double" using "Ctrl+Shift+Right"
* Cut the text
* Issue key combination to jump to the end of "someVar"
* Enter ": " and insert the text cut earlier (and press Del to remove the superflous blank)
In most situtations Ctrl+Right will be sufficient or End will work as well. But in the above situation Ctrl+Right will put me at the beginning of "some" which is rather far away from the end of "someVar" (not even mentioning where End will put me ^^)
Mantis conversion info:
- Mantis ID: 21047
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 35240 (#17c7b1c8)
- Monitored by: » etrusco (Flávio Etrusco)
- Target version: 1.2