diff options
author | Neil <nyamatongwe@gmail.com> | 2024-02-09 21:45:35 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-02-09 21:45:35 +1100 |
commit | bd53ffcbefe4e7a22fc493b1916939bae5f9dc1d (patch) | |
tree | bfe435d75b222d464a9cbb21e25583d33c591936 /include/Scintilla.iface | |
parent | 07a7683902feb4b9944394b9378f0a1a51972497 (diff) | |
download | scintilla-mirror-bd53ffcbefe4e7a22fc493b1916939bae5f9dc1d.tar.gz |
Implement API to read and write undo history from applications.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r-- | include/Scintilla.iface | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 918121596..dd7495a6f 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -833,6 +833,42 @@ fun void BeginUndoAction=2078(,) # End a sequence of actions that is undone and redone as a unit. fun void EndUndoAction=2079(,) +# How many undo actions are in the history? +get int GetUndoActions=2790(,) + +# Set action as the save point +set void SetUndoSavePoint=2791(int action,) + +# Which action is the save point? +get int GetUndoSavePoint=2792(,) + +# Set action as the current point +set void SetUndoCurrent=2793(int action,) + +# Which action is the current point? +get int GetUndoCurrent=2794(,) + +# Set action as the tentative point +set void SetUndoTentative=2795(int action,) + +# Which action is the tentative point? +get int GetUndoTentative=2796(,) + +# Push one action onto undo history with no text +fun void PushUndoActionType=2797(int type, position pos) + +# Set the text and length of the most recently pushed action +fun void ChangeLastUndoActionText=2798(position length, string text) + +# What is the type of an action? +get int GetUndoActionType=2799(int action,) + +# What is the position of an action? +get position GetUndoActionPosition=2800(int action,) + +# What is the text of an action? +get int GetUndoActionText=2801(int action, stringresult text) + # Indicator style enumeration and some constants enu IndicatorStyle=INDIC_ val INDIC_PLAIN=0 |