aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-01-19 03:07:58 +0000
committernyamatongwe <devnull@localhost>2008-01-19 03:07:58 +0000
commit55a25ce56daec5128348ec882f773044dc9dfa86 (patch)
tree4e1fb737f08fb267185601e49b10659637b91ad9 /src/LineMarker.cxx
parent89a39d969a2231cfb68bc8b0c2b27952e6d27c09 (diff)
downloadscintilla-mirror-55a25ce56daec5128348ec882f773044dc9dfa86.tar.gz
Added SC_MARK_LEFTRECT margin marker.
Diffstat (limited to 'src/LineMarker.cxx')
-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);
}