diff options
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; | 
