]> git.saurik.com Git - wxWidgets.git/commitdiff
Patch #1106564, corrects possible 100% CPU load condition.
authorRobin Dunn <robin@alldunn.com>
Fri, 21 Jan 2005 18:23:35 +0000 (18:23 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 21 Jan 2005 18:23:35 +0000 (18:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/stc/scintilla/src/Editor.cxx
src/stc/scintilla/src/Editor.cxx

index 1ab36610b0f8bd84dd1fc9d87ef2527398f16168..591125dda678210237b9f13107977f3f8c6362f1 100644 (file)
@@ -3283,6 +3283,7 @@ void Editor::ClearAll() {
        currentPos = 0;
        SetTopLine(0);
        SetVerticalScrollPos();
+        InvalidateStyleRedraw();
 }
 
 void Editor::ClearDocumentStyle() {
index 1ab36610b0f8bd84dd1fc9d87ef2527398f16168..591125dda678210237b9f13107977f3f8c6362f1 100644 (file)
@@ -3283,6 +3283,7 @@ void Editor::ClearAll() {
        currentPos = 0;
        SetTopLine(0);
        SetVerticalScrollPos();
+        InvalidateStyleRedraw();
 }
 
 void Editor::ClearDocumentStyle() {