Hello,
Just came across Sublime, and it looks awesome . I’m in the first day of playing with it, and am seeing no reason not to switch and buy at this point. One thing that I am missing from my previous editor (Textpad), that I havne’t seen anywhere else, is the way cursor movement is handled when switching lines. It’s a bit hard to describe, but it is very handy. I’ll try to describe it below, but it’s probably easier if you follow along by trying firsthand by downloading Textpad 4.x (e.g. textpad.com/download/v47/txpeng473.exe).
For example, say I have the following two lines, with the cursor positioned at the pipe:
The quick | fox jumped
over the lazy dog.
…and then I typed “brown”, the cursor would end up here:
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:
The quick brown fox jumped
over the lazy d|og.
However, Textpad ends up with this:
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.