aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-03-16 13:49:54 +1100
committerNeil <nyamatongwe@gmail.com>2017-03-16 13:49:54 +1100
commit47c2bc6e8386e99aa83e5d41159387bac212adf7 (patch)
treee92ca825861b1a049e888021e23a716586143999 /src/EditView.cxx
parent1fe173f0ae8e03bea2fcb192a107a87aa2970d9c (diff)
downloadscintilla-mirror-47c2bc6e8386e99aa83e5d41159387bac212adf7.tar.gz
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.
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r--src/EditView.cxx2
1 files changed, 2 insertions, 0 deletions
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<DrawPhase>(phase & ~drawBack);
DrawEOL(surface, model, vsDraw, ll, rcLine, line, lineRange.end,
xStart, subLine, subLineStart, background);
}