From 3de9d37c7b8f4501558d309ada718dc52533e94c Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 22 Jan 2025 21:34:54 +1100 Subject: Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY. --- src/CellBuffer.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/CellBuffer.cxx') diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 643929352..04486d4c6 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -1075,6 +1075,10 @@ int CellBuffer::UndoSequenceDepth() const noexcept { return uh->UndoSequenceDepth(); } +bool CellBuffer::AfterUndoSequenceStart() const noexcept { + return uh->AfterUndoSequenceStart(); +} + void CellBuffer::AddUndoAction(Sci::Position token, bool mayCoalesce) { bool startSequence = false; uh->AppendAction(ActionType::container, token, nullptr, 0, startSequence, mayCoalesce); -- cgit v1.2.3