diff options
author | nyamatongwe <unknown> | 2005-05-07 10:50:38 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-05-07 10:50:38 +0000 |
commit | 17b4822f0b8879af3cace8fdcf81be235ff6ce8f (patch) | |
tree | 78591a08531171aad7282a911d02d8e9abb1be7f /src | |
parent | a5947254aab31b2e51f37144206133a8b0e4ac6e (diff) | |
download | scintilla-mirror-17b4822f0b8879af3cace8fdcf81be235ff6ce8f.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.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.h | 2 |
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); |