diff options
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r-- | src/EditView.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index 5d15abf12..8243169d0 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -324,6 +324,8 @@ void EditView::RefreshPixMaps(Surface *surfaceWindow, WindowID wid, const ViewSt pixmapIndentGuide->FillRectangle(rcPixel, vsDraw.styles[STYLE_INDENTGUIDE].fore); pixmapIndentGuideHighlight->FillRectangle(rcPixel, vsDraw.styles[STYLE_BRACELIGHT].fore); } + pixmapIndentGuide->FlushDrawing(); + pixmapIndentGuideHighlight->FlushDrawing(); } } @@ -2349,6 +2351,7 @@ void EditView::PaintText(Surface *surfaceWindow, const EditModel &model, PRectan const PRectangle rcCopyArea = PRectangle::FromInts(vsDraw.textStart - leftTextOverlap, yposScreen, static_cast<int>(rcClient.right - vsDraw.rightMarginWidth), yposScreen + vsDraw.lineHeight); + pixmapLine->FlushDrawing(); surfaceWindow->Copy(rcCopyArea, from, *pixmapLine); } |