Log In  

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.

P#77094 2020-05-24 00:11 ( Edited 2020-08-10 21:17)

:: Felice

@zep

This is still broken in 0.2.1.

P#78901 2020-07-04 18:57
1

I agree this is really annoying. +1 to fix this in 0.2.1c

P#79066 2020-07-08 20:11

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.

P#80596 2020-08-10 14:40 ( Edited 2020-08-10 14:44)
:: Felice

@EmmaEwert

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:

Cart #yitozikira-0 | 2020-08-10 | Code ▽ | Embed ▽ | No License

P#80613 2020-08-10 21:05 ( Edited 2020-08-10 21:12)
:: Felice

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.

P#80614 2020-08-10 21:14

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-01-20 10:30 | 0.036s | 4194k | Q:40