Log In  

attn: @zep

A tab character is supposed to move the cursor to the next column that's a multiple of the tab-width setting, but instead it just advances the cursor by tab-width columns every time.

In other words, it currently does this:

function do_tab()
  cursor_x += tab_width
end

And it should do this:

function do_tab()
  cursor_x = (cursor_x + tab_width - 1) % tab_width
end
P#63629 2019-04-17 23:40 ( Edited 2019-04-21 13:05)

Oh cool, there is a tab_width setting now!

P#63681 2019-04-19 13:02

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 08:40:22 | 0.006s | Q:13