aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-04-18 09:20:38 +1000
committerNeil <nyamatongwe@gmail.com>2025-04-18 09:20:38 +1000
commitc1de3774867127539b9b93efd4a0832a3f3a9fcf (patch)
tree8109f426718be98882a78c9369fbd9c4ca64224f /include/Scintilla.h
parentd36d669ddfd447fbbe28faef18457177bf102881 (diff)
downloadscintilla-mirror-c1de3774867127539b9b93efd4a0832a3f3a9fcf.tar.gz
Control restoring vertical scroll position for undo with
SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 213dde52e..a90dd3571 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -534,6 +534,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
#define SCI_GETCHANGEHISTORY 2781
#define SC_UNDO_SELECTION_HISTORY_DISABLED 0
#define SC_UNDO_SELECTION_HISTORY_ENABLED 1
+#define SC_UNDO_SELECTION_HISTORY_SCROLL 2
#define SCI_SETUNDOSELECTIONHISTORY 2782
#define SCI_GETUNDOSELECTIONHISTORY 2783
#define SCI_SETSELECTIONSERIALIZED 2784