Undo in Servoy Editor doesn't work (properly)

Hi,

I noticed that when a method is allready edited, but not saved and then you delete some text and then try to undo that by pressing Control-Z (or through the menu), the last “delete” action is not undone.

2.1 Beta 4, WinXP

Paul

I tested this a bit more and I get unstable behavior for the following cases:

Selected text deleted by pressing: Delete, Backspace or Space

Text deleted by Delete or Backspace.

In all cases, the method has to be edited but not saved yet (meaning: the ‘*’ shows in the Method Tab)

Paul

I have noticed that undo does not always work, but I have to taken a closer look at when the instances are.

Hi, tested the undo behavior in 2.1 RC2: It’s a lot better! :D

Only thing I notice that I have to press Ctrl-Z twice to undo 1 event..

Working on Windows XP

Paul

Yes this happens when you type to fast :)
I have refactored the code a bit so that the undo now should be pretty perfect (2.1rc3)