diff options
author | nyamatongwe <unknown> | 2000-06-22 05:49:23 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-06-22 05:49:23 +0000 |
commit | 4eefcbc170bbb0647d4828dbc1a0f93399e2db95 (patch) | |
tree | db5d343bf3d8659d6ff407cf54b7ace346aa3a8e /src/CellBuffer.h | |
parent | b6aa84d73f7df6d3fa8dbe46c01aec9d8f307853 (diff) | |
download | scintilla-mirror-4eefcbc170bbb0647d4828dbc1a0f93399e2db95.tar.gz |
Removed deprecated APIs.
Added gets to match sets for UndoCollection, BufferedDraw, CodePage,
UsePalette, ReadOnly, CaretFore, and ModEventMask.
Undo collection status is a bool again - enumeration deprecated.
Timing code commented out.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h index 409a8749d..7a3eabaeb 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -88,8 +88,6 @@ public: void Grab(Action *source); }; -enum undoCollectionType { undoCollectNone, undoCollectAutoStart, undoCollectManualStart }; - class UndoHistory { Action *actions; int lenActions; @@ -141,7 +139,7 @@ private: char *part2body; bool readOnly; - undoCollectionType collectingUndo; + bool collectingUndo; UndoHistory uh; LineVector lv; @@ -199,7 +197,7 @@ public: void BasicInsertString(int position, char *s, int insertLength); void BasicDeleteChars(int position, int deleteLength); - undoCollectionType SetUndoCollection(undoCollectionType collectUndo); + bool SetUndoCollection(bool collectUndo); bool IsCollectingUndo(); void BeginUndoAction(); void EndUndoAction(); |