diff options
author | Neil <nyamatongwe@gmail.com> | 2024-02-16 09:52:43 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-02-16 09:52:43 +1100 |
commit | f39367fc4c7af72caef8e20b1e9b1a038e242b0a (patch) | |
tree | b5f2fddf5ad5d2b79e72e93ebefa8cf8e7abe4d4 /src/Document.h | |
parent | 1681b7fc9da6d455ab73a96816a47f6ba263017c (diff) | |
download | scintilla-mirror-f39367fc4c7af72caef8e20b1e9b1a038e242b0a.tar.gz |
Implement detach point access with SCI_SETUNDODETACH and SCI_GETUNDODETACH.
Write more documentation for undo history.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Document.h b/src/Document.h index 66f954724..912c719b5 100644 --- a/src/Document.h +++ b/src/Document.h @@ -409,10 +409,12 @@ public: int UndoActions() const noexcept; void SetUndoSavePoint(int action) noexcept; int UndoSavePoint() const noexcept; - void SetUndoCurrent(int action); - int UndoCurrent() const noexcept; + void SetUndoDetach(int action) noexcept; + int UndoDetach() const noexcept; void SetUndoTentative(int action) noexcept; int UndoTentative() const noexcept; + void SetUndoCurrent(int action); + int UndoCurrent() const noexcept; int UndoActionType(int action) const noexcept; Sci::Position UndoActionPosition(int action) const noexcept; std::string_view UndoActionText(int action) const noexcept; |