Undo

Last post 07-12-2011, 6:48 AM by jonathanexact. 1 replies.
Sort Posts: Previous Next
  •  07-12-2011, 6:43 AM 68433

    Undo

    Hi everyone,
     
    I noticed that I gotta pause between my changes to get the Undo function to work 'correctly'. Example:
     
    Type 'a'
    Press Enter
    Type 'b'
    Press Enter
    Type 'c'
     
    Press Undo. Everything is removed. However, if I do this:
     
    Type 'a', wait for about 2 seconds
    Press Enter
    Type 'b', wait for about 2 seconds
     
    Press Undo. Only b is removed.
     
     
    Is there anyway to customize this behaviour?
    A previous post suggested the use of KEYDOWN_NOTIFYCHANGEDELAY, but I couldn't get it working (and I think this changes the time it takes to trigger a changed event for a keystroke, so I'm not too sure of the consequence of changing this).
    Thanks!
     
     
  •  07-12-2011, 6:48 AM 68434 in reply to 68433

    Re: Undo

    Sorry for replying to my own post, just wanna say that the Enter seems to be the key here. I can totally accept this scenario:
    User types abc
    User presses Undo
    abc is removed.
     
     
    I suppose the question could be, is there a way to configure the Undo logic?
View as RSS news feed in XML