diff options
Diffstat (limited to 'src/UndoHistory.cxx')
-rw-r--r-- | src/UndoHistory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UndoHistory.cxx b/src/UndoHistory.cxx index 0c8644f16..c94d0690c 100644 --- a/src/UndoHistory.cxx +++ b/src/UndoHistory.cxx @@ -322,10 +322,10 @@ const char *UndoHistory::AppendAction(ActionType at, Sci::Position position, con return dataNew; } -void UndoHistory::BeginUndoAction() noexcept { +void UndoHistory::BeginUndoAction(bool mayCoalesce) noexcept { if (undoSequenceDepth == 0) { if (currentAction > 0) { - actions.types[PreviousAction()].mayCoalesce = false; + actions.types[PreviousAction()].mayCoalesce = mayCoalesce; } } undoSequenceDepth++; |