diff options
author | Neil <nyamatongwe@gmail.com> | 2024-02-18 08:30:04 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-02-18 08:30:04 +1100 |
commit | 6c1c08e08029f3daeba6822dec4487e1cddae445 (patch) | |
tree | 80770e3f8c0cbc81f01be012cb92074794677cb4 /src/UndoHistory.h | |
parent | f39367fc4c7af72caef8e20b1e9b1a038e242b0a (diff) | |
download | scintilla-mirror-6c1c08e08029f3daeba6822dec4487e1cddae445.tar.gz |
Restore change history when restoring undo history.
Diffstat (limited to 'src/UndoHistory.h')
-rw-r--r-- | src/UndoHistory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/UndoHistory.h b/src/UndoHistory.h index 10660a195..5ddc03593 100644 --- a/src/UndoHistory.h +++ b/src/UndoHistory.h @@ -123,6 +123,7 @@ public: [[nodiscard]] int Current() const noexcept; [[nodiscard]] int Type(int action) const noexcept; [[nodiscard]] Sci::Position Position(int action) const noexcept; + [[nodiscard]] Sci::Position Length(int action) const noexcept; [[nodiscard]] std::string_view Text(int action) noexcept; void PushUndoActionType(int type, Sci::Position position); void ChangeLastUndoActionText(size_t length, const char *text); |