diff options
author | nyamatongwe <devnull@localhost> | 2000-06-22 05:49:23 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-06-22 05:49:23 +0000 |
commit | 087593e79640157e010e664d9027d82f36bba1dd (patch) | |
tree | db5d343bf3d8659d6ff407cf54b7ace346aa3a8e /src/CellBuffer.h | |
parent | 7b0e16f00f59aeec2d38fd71d5279e7bd6f1a3b5 (diff) | |
download | scintilla-mirror-087593e79640157e010e664d9027d82f36bba1dd.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(); |