aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-06-22 05:49:23 +0000
committernyamatongwe <devnull@localhost>2000-06-22 05:49:23 +0000
commit087593e79640157e010e664d9027d82f36bba1dd (patch)
treedb5d343bf3d8659d6ff407cf54b7ace346aa3a8e /src/CellBuffer.cxx
parent7b0e16f00f59aeec2d38fd71d5279e7bd6f1a3b5 (diff)
downloadscintilla-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.cxx')
-rw-r--r--src/CellBuffer.cxx4
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;