summaryrefslogtreecommitdiffstats
path: root/scintilla/src/LineMarker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scintilla/src/LineMarker.cxx')
-rw-r--r--scintilla/src/LineMarker.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/scintilla/src/LineMarker.cxx b/scintilla/src/LineMarker.cxx
index 688d139..5614c3a 100644
--- a/scintilla/src/LineMarker.cxx
+++ b/scintilla/src/LineMarker.cxx
@@ -77,6 +77,8 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac
case LineMarker::head :
head = backSelected;
tail = backSelected;
+ if (markType == SC_MARK_VLINE)
+ body = backSelected;
break;
case LineMarker::body :
head = backSelected;
@@ -184,7 +186,7 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac
} else if (markType == SC_MARK_VLINE) {
surface->PenColour(body.allocated);
- surface->MoveTo(centreX, rcWhole.top);
+ surface->MoveTo(centreX, rcWhole.top + blobSize - (rcWhole.bottom - rcWhole.top)/2);
surface->LineTo(centreX, rcWhole.bottom);
} else if (markType == SC_MARK_LCORNER) {