CanRedo flag incorrectly set on DocumentChanges

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Colin Blakey - Application Development Manager, Vertex Inc
Version: 4.0.0257
Platform: .NET 2.0
Environment: Windows XP (32-bit)
Avatar
This may be related to the issue in the bug report "Redo doesn't reset modified flag correctly " on 06/21/2007 by Roy Arvenäs.

I have a small issue with the CanRedo property. I have hooked up the SelectionChanged event and I'm using it to update the a toolbar for the editor panel. When I change a single character this event fires. Checking property CanUndo it is true (correct) and CanRedo is false (correct). If I then undo that change using Ctrl-Z the event fires and CanUndo is now false (correct) but CanRedo is also false (incorrect). When the UserInterfaceUpdate event fires the properties are correct but this event does not fire quickly enough for the purposes of the toolbar update.

Thanks

Colin Blakey

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks Colin, this is now fixed for the next maintenance release.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.