aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-01-25 08:40:06 +1100
committerNeil <nyamatongwe@gmail.com>2025-01-25 08:40:06 +1100
commitf2bc1988dba5ca23692020017aa6f9ee2b4d71cf (patch)
treed4a01f6ce4ad7fd5afa7a2b65b6a68c1cf932f96 /include/Scintilla.iface
parent3de9d37c7b8f4501558d309ada718dc52533e94c (diff)
downloadscintilla-mirror-f2bc1988dba5ca23692020017aa6f9ee2b4d71cf.tar.gz
Bug [#1224]. Use enum for undo selection history and make API names more
consistent as 'undo selection' instead of 'selection undo' as more closely associated with undo than selection.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index ba37ceaf3..65d3d157b 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1334,11 +1334,15 @@ set void SetChangeHistory=2780(ChangeHistoryOption changeHistory,)
# Report change history status.
get ChangeHistoryOption GetChangeHistory=2781(,)
-# Enable or disable selection undo history.
-set void SetSelectionUndoHistory=2782(bool selectionUndoHistory,)
+enu UndoSelectionHistoryOption=SC_UNDO_SELECTION_HISTORY_
+val SC_UNDO_SELECTION_HISTORY_DISABLED=0
+val SC_UNDO_SELECTION_HISTORY_ENABLED=1
-# Report selection undo history status.
-get bool GetSelectionUndoHistory=2783(,)
+# Enable or disable undo selection history.
+set void SetUndoSelectionHistory=2782(UndoSelectionHistoryOption undoSelectionHistory,)
+
+# Report undo selection history status.
+get UndoSelectionHistoryOption GetUndoSelectionHistory=2783(,)
# Retrieve the display line at the top of the display.
get line GetFirstVisibleLine=2152(,)