emptyUndoBuffer

emptyUndoBuffer(): Integer;

The emptyUndoBuffer method of the JadeTextEdit class clears the editor and discards any undo or redo history. This method returns zero (0).

The value of the modified property is also set to false. The next text editor action causes the firstChange event method.