From c1de3774867127539b9b93efd4a0832a3f3a9fcf Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 18 Apr 2025 09:20:38 +1000 Subject: Control restoring vertical scroll position for undo with SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY. --- include/Scintilla.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/Scintilla.h') 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 -- cgit v1.2.3