Just came across Sublime, and it looks awesome
For example, say I have the following two lines, with the cursor positioned at the pipe:
- Code: Select all
The quick | fox jumped
over the lazy dog.
...and then I typed "brown", the cursor would end up here:
- Code: Select all
The quick brown| fox jumped
over the lazy dog.
...in most editors (including Sublime), if I then pressed the down arrow, I'd wind up with this:
- Code: Select all
The quick brown fox jumped
over the lazy d|og.
However, Textpad ends up with this:
- Code: Select all
The quick brown fox jumped
over the l|azy dog.
This comes in *very* handy when doing multiple similar edits across multiple lines.
It seems the editor is keeping track of both the cursor's "current X position" and the "base X position", which is "the original X position before any editing occurred since the last horizontal cursor navigation command". Then, if you move the cursor up or down (with either up/down arrows, or pgup/pgdn), the cursor tries to keep as close to the original X position as possible, but within the current line's constraints. The base X position is updated next time you manually position the cursor horizontally (e.g. left/right arrows, mouse click, etc).
Anyway, like I said, it's hard to appreciate without trying, and it'd be awesome to see added to what already looks to be a great editor.