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. --- src/EditModel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/EditModel.h') diff --git a/src/EditModel.h b/src/EditModel.h index 716fd5788..f75cece44 100644 --- a/src/EditModel.h +++ b/src/EditModel.h @@ -92,7 +92,7 @@ public: Document *pdoc; - bool rememberingSelectionForUndo = false; + Scintilla::UndoSelectionHistoryOption undoSelectionHistoryOption = UndoSelectionHistoryOption::Disabled; bool needRedoRemembered = false; ModelStateShared modelState; -- cgit v1.2.3