You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sorry Salamander, I must have missed this report. Only just found it now.
Yes, I can confirm it too.
Just sent Debian version 0.38 and could so easily have fixed this bug.
Will try to have it fixed for next release.
Davo
OK, bit worried about this. Can confirm Salamander's report. Enter is not recorded in the undo stack because it does not generate a suitable keydown event. KMemo grabs them because Enter is not recorded there as a character but as a new block, altering the structure. So, this sounds like special code to process an Enter press -
Record it as a new type of item, 'Enter' on the undo stack, record SelectionIndex (of new block ? Maybe faster to record block no ?). Will require new field in Undo stack ? How else can I mark different behavior ?
On Undo, merge the two blocks that were separated by the Enter. Or delete new block if empty (as many Enter presses will be).
Restore cursor.
Quite a bit of extra code happening while user types, must ensure benefit matches that potential slow down. Further research is indicated ....
If you already know about this bug with undo [CTRL-Z] just ignore it, close it.
I am going to the store
I am going to the bank
and the store.
I am going to
the store.
It should be back to one line if the undo was working perfectly. Instead, we're left with two lines.
The text was updated successfully, but these errors were encountered: