Undo/Redo code example?

SyntaxEditor for Windows Forms Forum

Posted 13 years ago by Todd Davis - Developer, SeaburyDesign
Avatar
Maybe I'm just braindead tonight, but I can't seem to figure out how to work the undo/redo feature - can someone either point me to some sample code, or post some sample code so that I can know how to determine if an undo/redo is possible, and then perform the action? Thanks!

-Todd Davis http://www.SeaburyDesign.com

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Todd,

Everything with undo/redo is available here:
editor.Document.UndoRedo

That object has properties like CanUndo and CanRedo, and has methods like Undo and Redo.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.