From cee781369784bef81d4379f83ab34fd2815ba1c8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 18 Feb 2005 23:56:12 +0000 Subject: Patch from wxWidgets to fix infinite loop due to wrapping never completing after ClearAll(). Bugs 1106564, 1144000. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index e049485f2..af0a73a19 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3304,6 +3304,7 @@ void Editor::ClearAll() { currentPos = 0; SetTopLine(0); SetVerticalScrollPos(); + InvalidateStyleRedraw(); } void Editor::ClearDocumentStyle() { -- cgit v1.2.3