aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-04-29 13:29:22 +0000
committernyamatongwe <unknown>2003-04-29 13:29:22 +0000
commit63721cfc73f18adae8b3a9e8d8dc598be3f5f0f6 (patch)
tree15f8a2879cad480852217123211fe309c3e2abc6 /src
parent9239cc0f68dd11ab388e4869f7f15bc94eb47694 (diff)
downloadscintilla-mirror-63721cfc73f18adae8b3a9e8d8dc598be3f5f0f6.tar.gz
Made Redraw only redraw the text area, not the scrollbars.
Diffstat (limited to 'src')
-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() {