From f2bc1988dba5ca23692020017aa6f9ee2b4d71cf Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 25 Jan 2025 08:40:06 +1100 Subject: 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. --- include/ScintillaCall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/ScintillaCall.h') 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); -- cgit v1.2.3