system2k / NodeWorldOfText

MIT License
25 stars 22 forks source link

Using CTRL+Z to undo text writes will override the last known line position when making newlines #184

Open system2k opened 1 week ago

system2k commented 1 week ago

Quote from itac85v2:

So if I type "abc" and press enter, I'll start one line below the "a" (as expected). Then, if I were to type "abcdefg" and undo the "fg", pressing enter will leave me one line where the "f" originally was, and not beneath the "a".

Further bug report which may be related:

the very top row on the paste preview is sometimes shifted right by 1 cell. clicking to paste will also have this issue. can't find how to reproduce, it just happens sometimes pressing esc and redoing the paste preview will almost always fix it