Undo/Redo code example?

SyntaxEditor for Windows Forms Forum

Posted 20 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 20 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 (v25.1.0) was released 20 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.