diff options
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index fcd94763c..b4031c8f1 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -485,11 +485,11 @@ void Editor::Redraw() { //Platform::DebugPrintf("Redraw all\n"); const PRectangle rcClient = GetClientRectangle(); wMain.InvalidateRectangle(rcClient); - if (wMargin.GetID()) + if (wMargin.GetID()) { wMargin.InvalidateAll(); - else + } else if (paintState == PaintState::notPainting) { redrawPendingText = true; - //wMain.InvalidateAll(); + } } void Editor::RedrawSelMargin(Sci::Line line, bool allAfter) { |