diff options
author | nyamatongwe <unknown> | 2000-04-23 23:02:52 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-04-23 23:02:52 +0000 |
commit | 74cf93aa3185db02bccecacaec088c2404a47692 (patch) | |
tree | 1333ea2f269ba51377731942af211d3c2211dd9e /src/CellBuffer.h | |
parent | 1a0760897c81afebc3e9d2ead502d09eff9479ee (diff) | |
download | scintilla-mirror-74cf93aa3185db02bccecacaec088c2404a47692.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); |