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. --- doc/ScintillaDoc.html | 8 ++++++++ doc/ScintillaHistory.html | 4 ++++ 2 files changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 28010507f..667acb7b3 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2054,6 +2054,14 @@ struct Sci_TextToFindFull { Restore selection for each undo and redo. + + SC_UNDO_SELECTION_HISTORY_SCROLL + + 2 + + Restore vertical scroll position. Has no effect without SC_UNDO_SELECTION_HISTORY_ENABLED. + + diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 4d69143ac..4da325dae 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -601,6 +601,10 @@ Released 2 April 2025.
  • + Add SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY which controls + whether undo and redo restore vertical scroll position. +
  • +
  • Tweak SC_MARK_BAR to be slightly wider by using next higher whole pixel instead of next lower for margin width / 3.
  • -- cgit v1.2.3