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