From: Robin Dunn Date: Fri, 21 Jan 2005 18:23:35 +0000 (+0000) Subject: Patch #1106564, corrects possible 100% CPU load condition. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eba52a286df59324b485c2490acb8e8293d371e8 Patch #1106564, corrects possible 100% CPU load condition. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/stc/scintilla/src/Editor.cxx b/contrib/src/stc/scintilla/src/Editor.cxx index 1ab36610b0..591125dda6 100644 --- a/contrib/src/stc/scintilla/src/Editor.cxx +++ b/contrib/src/stc/scintilla/src/Editor.cxx @@ -3283,6 +3283,7 @@ void Editor::ClearAll() { currentPos = 0; SetTopLine(0); SetVerticalScrollPos(); + InvalidateStyleRedraw(); } void Editor::ClearDocumentStyle() { diff --git a/src/stc/scintilla/src/Editor.cxx b/src/stc/scintilla/src/Editor.cxx index 1ab36610b0..591125dda6 100644 --- a/src/stc/scintilla/src/Editor.cxx +++ b/src/stc/scintilla/src/Editor.cxx @@ -3283,6 +3283,7 @@ void Editor::ClearAll() { currentPos = 0; SetTopLine(0); SetVerticalScrollPos(); + InvalidateStyleRedraw(); } void Editor::ClearDocumentStyle() {