diff options
author | Neil <nyamatongwe@gmail.com> | 2025-01-22 21:34:54 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2025-01-22 21:34:54 +1100 |
commit | 3de9d37c7b8f4501558d309ada718dc52533e94c (patch) | |
tree | ce87afaff43a86c26c562fefcf0c9a5ea409ef6b /call | |
parent | bac32d7fde0b1d052ac9e926c6b3c96afe39bcfd (diff) | |
download | scintilla-mirror-3de9d37c7b8f4501558d309ada718dc52533e94c.tar.gz |
Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY.
Diffstat (limited to 'call')
-rw-r--r-- | call/ScintillaCall.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/call/ScintillaCall.cxx b/call/ScintillaCall.cxx index 64c9728e2..32855b9be 100644 --- a/call/ScintillaCall.cxx +++ b/call/ScintillaCall.cxx @@ -1259,6 +1259,14 @@ ChangeHistoryOption ScintillaCall::ChangeHistory() { return static_cast<Scintilla::ChangeHistoryOption>(Call(Message::GetChangeHistory)); } +void ScintillaCall::SetSelectionUndoHistory(bool selectionUndoHistory) { + Call(Message::SetSelectionUndoHistory, selectionUndoHistory); +} + +bool ScintillaCall::SelectionUndoHistory() { + return Call(Message::GetSelectionUndoHistory); +} + Line ScintillaCall::FirstVisibleLine() { return Call(Message::GetFirstVisibleLine); } |