nelsam/vidar

Incorrect undo after cut command

Kvaz1r opened this issue · 3 comments

Description

Incorrect undo after cut command

Steps to reproduce

  1. make several selections
  2. cut them (ctrl+x)
  3. try undo (ctrl+z) this operation

Expected behavior

return to the original state

Actual behavior

"broken" text

I believe that solving #127 might have solved this, too. Either that or #129. I can't reproduce with the code in master.

Yes, this behaviour really fixed. But now undo takes only one selection at a time(a bit inconvenient, but no more) and first selection disappear while next one selecting. Disappear in meaning absence backlight.

Yeah, the history needs to be updated a bit so that it understands "blocks" of edits. I think that's a different problem, though.