diff options
author | Neil <nyamatongwe@gmail.com> | 2025-01-25 08:40:06 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2025-01-25 08:40:06 +1100 |
commit | f2bc1988dba5ca23692020017aa6f9ee2b4d71cf (patch) | |
tree | d4a01f6ce4ad7fd5afa7a2b65b6a68c1cf932f96 /include/ScintillaCall.h | |
parent | 3de9d37c7b8f4501558d309ada718dc52533e94c (diff) | |
download | scintilla-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/ScintillaCall.h')
-rw-r--r-- | include/ScintillaCall.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ScintillaCall.h b/include/ScintillaCall.h index ab0bb3306..bcd462be9 100644 --- a/include/ScintillaCall.h +++ b/include/ScintillaCall.h @@ -360,8 +360,8 @@ public: Position FormatRangeFull(bool draw, RangeToFormatFull *fr); void SetChangeHistory(Scintilla::ChangeHistoryOption changeHistory); Scintilla::ChangeHistoryOption ChangeHistory(); - void SetSelectionUndoHistory(bool selectionUndoHistory); - bool SelectionUndoHistory(); + void SetUndoSelectionHistory(Scintilla::UndoSelectionHistoryOption undoSelectionHistory); + Scintilla::UndoSelectionHistoryOption UndoSelectionHistory(); Line FirstVisibleLine(); Position GetLine(Line line, char *text); std::string GetLine(Line line); |