summaryrefslogtreecommitdiffstats
path: root/scintilla/src/LineMarker.cxx
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2011-04-27 12:08:51 +0000
committerXhmikosR <xhmikosr@users.sourceforge.net>2011-04-27 12:08:51 +0000
commit8674eb067d1791872f94720944b405943f38d91f (patch)
tree12c013643e4c45ecea5c2c5121da52785d05aeb8 /scintilla/src/LineMarker.cxx
parent7876d7699e3f321eaa392f69dfb685748938d214 (diff)
downloadnotepad2-mod-8674eb067d1791872f94720944b405943f38d91f.zip
notepad2-mod-8674eb067d1791872f94720944b405943f38d91f.tar.gz
notepad2-mod-8674eb067d1791872f94720944b405943f38d91f.tar.bz2
update scintilla
git-svn-id: https://notepad2-mod.googlecode.com/svn/trunk@478 28bd50df-7adb-d945-0439-6e466c6a13cc
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) {