aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2008-01-19 03:07:58 +0000
committernyamatongwe <unknown>2008-01-19 03:07:58 +0000
commite46072a99ad74202cb2c7fd2173e0b52aa6074ba (patch)
tree4e1fb737f08fb267185601e49b10659637b91ad9 /src
parent88eb92f8de5e104a05ed9a056acaec8e6a15313c (diff)
downloadscintilla-mirror-e46072a99ad74202cb2c7fd2173e0b52aa6074ba.tar.gz
Added SC_MARK_LEFTRECT margin marker.
Diffstat (limited to 'src')
-rw-r--r--src/LineMarker.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx
index ab0511654..f79c3c085 100644
--- a/src/LineMarker.cxx
+++ b/src/LineMarker.cxx
@@ -299,6 +299,10 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac
};
surface->Polygon(pts, sizeof(pts) / sizeof(pts[0]),
fore.allocated, back.allocated);
+ } else if (markType == SC_MARK_LEFTRECT) {
+ PRectangle rcLeft = rcWhole;
+ rcLeft.right = rcLeft.left + 4;
+ surface->FillRectangle(rcLeft, back.allocated);
} else { // SC_MARK_FULLRECT
surface->FillRectangle(rcWhole, back.allocated);
}