From 17b4822f0b8879af3cace8fdcf81be235ff6ce8f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 7 May 2005 10:50:38 +0000 Subject: Patch from Robert that avoids slow performance for multiple step undo or redo by only modifying the scroll bars at the end. When document is read only, undo and redo send a SCN_MODIFYATTEMPTRO notification. --- src/Document.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Document.h b/src/Document.h index 3b43852f0..cf5187ae2 100644 --- a/src/Document.h +++ b/src/Document.h @@ -235,6 +235,8 @@ public: int IndentSize() { return actualIndentInChars; } private: + void CheckReadOnly(); + charClassification WordCharClass(unsigned char ch); bool IsWordStartAt(int pos); bool IsWordEndAt(int pos); -- cgit v1.2.3