aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-04-29 13:29:22 +0000
committernyamatongwe <devnull@localhost>2003-04-29 13:29:22 +0000
commitd28f6aaf6d02ab6f9942d5bd94d23413d6b62ba9 (patch)
tree15f8a2879cad480852217123211fe309c3e2abc6
parent6fae6aefecc1edb660f2946c7cf3cef0c69f1035 (diff)
downloadscintilla-mirror-d28f6aaf6d02ab6f9942d5bd94d23413d6b62ba9.tar.gz
Made Redraw only redraw the text area, not the scrollbars.
-rw-r--r--src/Editor.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 0cb693ba6..3ea01ecb2 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -711,7 +711,9 @@ void Editor::RedrawRect(PRectangle rc) {
void Editor::Redraw() {
//Platform::DebugPrintf("Redraw all\n");
- wMain.InvalidateAll();
+ PRectangle rcClient = GetClientRectangle();
+ wMain.InvalidateRectangle(rcClient);
+ //wMain.InvalidateAll();
}
void Editor::RedrawSelMargin() {