aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-04-09 01:39:00 +0000
committernyamatongwe <unknown>2005-04-09 01:39:00 +0000
commit3431815cd0f1686d5bea88f3be8a3d419fc6dc79 (patch)
treebcac3a73810313c13eda7afb5c029b8e972e5a35 /src
parent306dc8bb34c4bbefbf4a3610931624d791ce267e (diff)
downloadscintilla-mirror-3431815cd0f1686d5bea88f3be8a3d419fc6dc79.tar.gz
SC_MARK_FULLRECT from Robert Roessler.
Diffstat (limited to 'src')
-rw-r--r--src/LineMarker.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx
index ec9c86f74..6ded13c73 100644
--- a/src/LineMarker.cxx
+++ b/src/LineMarker.cxx
@@ -282,7 +282,7 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac
surface->LineTo(right - 5, centreY + 5);
right += 4;
}
- } else { // SC_MARK_SHORTARROW
+ } else if (markType == SC_MARK_SHORTARROW) {
Point pts[] = {
Point(centreX, centreY + dimOn2),
Point(centreX + dimOn2, centreY),
@@ -295,5 +295,7 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac
};
surface->Polygon(pts, sizeof(pts) / sizeof(pts[0]),
fore.allocated, back.allocated);
+ } else { // SC_MARK_FULLRECT
+ surface->FillRectangle(rcWhole, back.allocated);
}
}