From d28f6aaf6d02ab6f9942d5bd94d23413d6b62ba9 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 29 Apr 2003 13:29:22 +0000 Subject: Made Redraw only redraw the text area, not the scrollbars. --- src/Editor.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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() { -- cgit v1.2.3