aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-05-07 10:50:38 +0000
committernyamatongwe <devnull@localhost>2005-05-07 10:50:38 +0000
commitdd8c5b4b131afe4ec681c20e3b361ea80728a030 (patch)
tree78591a08531171aad7282a911d02d8e9abb1be7f
parent4a66b9e90218517ee62ce77ac1733e30976065ea (diff)
downloadscintilla-mirror-dd8c5b4b131afe4ec681c20e3b361ea80728a030.tar.gz
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.
-rw-r--r--src/Document.h2
1 files changed, 2 insertions, 0 deletions
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);