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/Document.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/Document.h')
-rw-r--r-- | src/Document.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index 64955639e..b8f24ebe1 100644 --- a/src/Document.h +++ b/src/Document.h @@ -113,9 +113,10 @@ public: bool CanUndo() { return cb.CanUndo(); } bool CanRedo() { return cb.CanRedo(); } void DeleteUndoHistory() { cb.DeleteUndoHistory(); } - undoCollectionType SetUndoCollection(undoCollectionType collectUndo) { + bool SetUndoCollection(bool collectUndo) { return cb.SetUndoCollection(collectUndo); } + bool IsCollectingUndo() { return cb.IsCollectingUndo(); } void BeginUndoAction() { cb.BeginUndoAction(); } void EndUndoAction() { cb.EndUndoAction(); } void SetSavePoint(); @@ -128,6 +129,7 @@ public: void Indent(bool forwards, int lineBottom, int lineTop); void ConvertLineEnds(int eolModeSet); void SetReadOnly(bool set) { cb.SetReadOnly(set); } + bool IsReadOnly() { return cb.IsReadOnly(); } void InsertChar(int pos, char ch); void InsertString(int position, const char *s); |