I'm surprised I haven't noticed this before today.
If I have my tabs set to two spaces, and then I cursor up or down across lines with varying numbers of tabs indenting them, the cursor column will shift left or right depending on the number of tabs at the start of the line. See this example gif for a demonstration:
Edit: as I discovered below, this also happens with double-wide glyphs:
The editor should be trying to maintain a virtual on-screen column, not an in-document column.
The only part of that gif that looks like a bug to me is that when you go down into the indented area, the cursor only moves in 1 space and you clearly have your indents set to 2 spaces... The fact the cursor moves sideways following the indents is perfectly normal in my opinion.
It seems like it was kind of fixed, now when doing this exact setup the cursor will only move in 1 regardless of how many tabs you put, lol.
Nope, it still behaves the same, and the way it behaves differs from how the rest of the world's text editors behave.
Here's the actual cart, download and follow the directions to test it at your end:
In fact, the same problem happens with glyphs, not just 2-space tabs:
The editor should be trying to maintain a virtual on-screen column, not an in-document column.
[Please log in to post a comment]