From 289b1f2147963852c745a7df02c543849c0553d8 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 5 Mar 2019 08:31:48 +1100 Subject: Validate window after FullPaint caused by abandoning paint. --- win32/ScintillaWin.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index e6f725d18..a24a1ddfc 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -883,6 +883,7 @@ sptr_t ScintillaWin::WndPaint() { if (paintState == paintAbandoned) { // Painting area was insufficient to cover new styling or brace highlight positions FullPaint(); + ::ValidateRect(MainHWND(), nullptr); } paintState = notPainting; -- cgit v1.2.3