From 47c2bc6e8386e99aa83e5d41159387bac212adf7 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 16 Mar 2017 13:49:54 +1100 Subject: For multiphase drawing ensure edges and mark underline drawn over fold tags by moving background drawing of fold tags before edge line and mark underline. --- src/EditView.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/EditView.cxx b/src/EditView.cxx index b9264ab34..6463e1d66 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -1849,6 +1849,8 @@ void EditView::DrawLine(Surface *surface, const EditModel &model, const ViewStyl if ((phasesDraw != phasesOne) && (phase & drawBack)) { DrawBackground(surface, model, vsDraw, ll, rcLine, lineRange, posLineStart, xStart, subLine, background); + DrawFoldDisplayText(surface, model, vsDraw, ll, line, xStart, rcLine, subLine, subLineStart, drawBack); + phase = static_cast(phase & ~drawBack); DrawEOL(surface, model, vsDraw, ll, rcLine, line, lineRange.end, xStart, subLine, subLineStart, background); } -- cgit v1.2.3