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