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.cxx | |
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.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index e6aa4a013..3f094ce96 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -567,7 +567,7 @@ CellBuffer::CellBuffer(int initialLength) { gaplen = initialLength; part2body = body + gaplen; readOnly = false; - collectingUndo = undoCollectAutoStart; + collectingUndo = true; } CellBuffer::~CellBuffer() { @@ -952,7 +952,7 @@ void CellBuffer::BasicDeleteChars(int position, int deleteLength) { part2body = body + gaplen; } -undoCollectionType CellBuffer::SetUndoCollection(undoCollectionType collectUndo) { +bool CellBuffer::SetUndoCollection(bool collectUndo) { collectingUndo = collectUndo; uh.DropUndoSequence(); return collectingUndo; |