How to introduce a save point into the WinForms SyntaxEditor's (EditControl) undo buffer?
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.
A related method - DiscardChanges, discards all unsaved changes in the EditControl made 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