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/Scintilla.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/Scintilla.h')
-rw-r--r-- | include/Scintilla.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 9f5b4e7a2..736a7e2d5 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -532,8 +532,10 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP #define SC_CHANGE_HISTORY_INDICATORS 4 #define SCI_SETCHANGEHISTORY 2780 #define SCI_GETCHANGEHISTORY 2781 -#define SCI_SETSELECTIONUNDOHISTORY 2782 -#define SCI_GETSELECTIONUNDOHISTORY 2783 +#define SC_UNDO_SELECTION_HISTORY_DISABLED 0 +#define SC_UNDO_SELECTION_HISTORY_ENABLED 1 +#define SCI_SETUNDOSELECTIONHISTORY 2782 +#define SCI_GETUNDOSELECTIONHISTORY 2783 #define SCI_GETFIRSTVISIBLELINE 2152 #define SCI_GETLINE 2153 #define SCI_GETLINECOUNT 2154 |