diff options
author | nyamatongwe <devnull@localhost> | 2000-04-23 23:02:52 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-04-23 23:02:52 +0000 |
commit | e7e0244ee5f2dc3cee896ef695efbaf9a47ac519 (patch) | |
tree | 1333ea2f269ba51377731942af211d3c2211dd9e /src/CellBuffer.h | |
parent | 7755da7142f88f1d9695fea500f9ae3f86d202ba (diff) | |
download | scintilla-mirror-e7e0244ee5f2dc3cee896ef695efbaf9a47ac519.tar.gz |
Fixing problems with fold information degrading when lines inserted and
removed.
New notifications before inserting and deleting text.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h index 2fcaca3a5..409a8749d 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -120,10 +120,12 @@ public: // called that many times. Similarly for redo. bool CanUndo() const; int StartUndo(); - const Action &UndoStep(); + const Action &GetUndoStep() const; + void CompletedUndoStep(); bool CanRedo() const; int StartRedo(); - const Action &RedoStep(); + const Action &GetRedoStep() const; + void CompletedRedoStep(); }; // Holder for an expandable array of characters that supports undo and line markers @@ -207,10 +209,12 @@ public: // called that many times. Similarly for redo. bool CanUndo(); int StartUndo(); - const Action &UndoStep(); + const Action &GetUndoStep() const; + void PerformUndoStep(); bool CanRedo(); int StartRedo(); - const Action &RedoStep(); + const Action &GetRedoStep() const; + void PerformRedoStep(); int SetLineState(int line, int state); int GetLineState(int line); |