Closed pm100 closed 1 year ago
Thank you for reporting. This is a bug. I could reproduce it. I'll take a look.
Did you see my question about hard tabs ? In the insert_str closed issue
@pm100 I haven't seen it. I'll check.
I confirmed the root cause of this issue and now fixing it with refactoring highlight.rs.
I confirmed the fix:
on current head
run minimal sample with hard tab set on (I set width to 10),
enter a\tb\na\b
display is
now cursor left into the gap
the tab space grew by one character
I have tried an initial debug but its not obvious