diff options
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 11 | 
1 files changed, 6 insertions, 5 deletions
| diff --git a/src/Document.h b/src/Document.h index 941ad79cc..61fe33fce 100644 --- a/src/Document.h +++ b/src/Document.h @@ -132,8 +132,8 @@ public:  	int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true);  	// Gateways to modifying document -	void DeleteChars(int pos, int len); -	void InsertStyledString(int position, char *s, int insertLength); +	bool DeleteChars(int pos, int len); +	bool InsertStyledString(int position, char *s, int insertLength);  	int Undo();  	int Redo();  	bool CanUndo() { return cb.CanUndo(); } @@ -158,9 +158,9 @@ public:  	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); -	void InsertString(int position, const char *s, int insertLength); +	bool InsertChar(int pos, char ch); +	bool InsertString(int position, const char *s); +	bool InsertString(int position, const char *s, int insertLength);  	void ChangeChar(int pos, char ch);  	void DelChar(int pos);  	int DelCharBack(int pos); @@ -233,6 +233,7 @@ private:  	void NotifySavePoint(bool atSavePoint);  	void NotifyModified(DocModification mh); +	int DelCharBackMove(int pos, int len);  	int IndentSize() { return indentInChars ? indentInChars : tabInChars; }  }; | 
