Articles in this section
Category / Section

How to introduce a save point into the WinForms SyntaxEditor's (EditControl) undo buffer?

1 min read

Reset undo redo buffer

A save point can be introduced by invoking the SyntaxEditor's (EditControl) ResetUndoInfo method. The ResetUndoInfo method clears the undo buffer, and so no undo operation is possible on contents or actions previously added or performed up to that point.

Note:

A related method - DiscardChanges, discards all unsaved changes in the EditControl done after the last ResetUndoInfo method call or the New or NewFile method calls.

Reference link: https://help.syncfusion.com/windowsforms/syntaxeditor/editing#reset-undo-redo-buffer

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied