TextArea's method SetText() has wrong undo logic. Currently only undoStack has reset, which means, if SetText() called second time, nextUndo counter stays the same. If press Ctrl-Z right after second SetText() it trying to reach nextUndo position into empty undoStack and get panic
TextArea's method
SetText()
has wrong undo logic. Currently onlyundoStack
has reset, which means, ifSetText()
called second time,nextUndo
counter stays the same. If pressCtrl-Z
right after secondSetText()
it trying to reachnextUndo
position into emptyundoStack
and get panic