aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorJohn Ehresman <unknown>2024-03-02 16:58:47 +1100
committerJohn Ehresman <unknown>2024-03-02 16:58:47 +1100
commite99c07091ec1cebc855bcda42426286872d3a667 (patch)
tree8ff2d1252c2d262393fa5f53a54e50eb97510aa1 /src/Document.h
parent899913225fe6cc67b30be125ef222ce93b87eb22 (diff)
downloadscintilla-mirror-e99c07091ec1cebc855bcda42426286872d3a667.tar.gz
Feature [feature-requests:#1511] Add mayCoalesce argument to BeginUndoAction.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index 912c719b5..102af4d2e 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -395,7 +395,7 @@ public:
return cb.SetUndoCollection(collectUndo);
}
bool IsCollectingUndo() const noexcept { return cb.IsCollectingUndo(); }
- void BeginUndoAction() noexcept { cb.BeginUndoAction(); }
+ void BeginUndoAction(bool coalesceWithPrior=false) noexcept { cb.BeginUndoAction(coalesceWithPrior); }
void EndUndoAction() noexcept { cb.EndUndoAction(); }
void AddUndoAction(Sci::Position token, bool mayCoalesce) { cb.AddUndoAction(token, mayCoalesce); }
void SetSavePoint();