Improve usability of SynchronEdit by jumping only between first locations of words
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
I'm a big fan of the SynchronEdit feature, but I've noticed a problem when changing multiple words that are seperated by multiple different words.
E.g. (stupid example)
a := b;
c := b or a and d or b and b or a and b and a or a;
e := d;
f := e or c;
Suppose I select the above block and want to change a and e in one go (yes, I could use search and replace, but that's not the point). SynchronEdit will now highlight all occurences of a, b, c, d, e, "or" and "and". By pressing "Tab" I can only jump from one such occurence to the next (which are quite some in the above example). It would be more optimal if Tab would only jump between the first occurences of the multiple words (while the non-first occurences are still - maybe differently - highlighted).
E.g. (|...| marks the first locations):
|a| := |b|;
|c| := b |or| a |and| |d| or b and b or a and b and a or a;
|e| := d;
f := e or c;
Now Tab only jumps between these 7 locations.
Mantis conversion info:
- Mantis ID: 21563
- Version: 0.9.31 (SVN)
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 37266 (#91ec03f1)
- Target version: 1.2.0
- LazTarget: 1.2