diff options
author | nyamatongwe <unknown> | 2005-04-09 01:39:00 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-04-09 01:39:00 +0000 |
commit | 3431815cd0f1686d5bea88f3be8a3d419fc6dc79 (patch) | |
tree | bcac3a73810313c13eda7afb5c029b8e972e5a35 | |
parent | 306dc8bb34c4bbefbf4a3610931624d791ce267e (diff) | |
download | scintilla-mirror-3431815cd0f1686d5bea88f3be8a3d419fc6dc79.tar.gz |
SC_MARK_FULLRECT from Robert Roessler.
-rw-r--r-- | src/LineMarker.cxx | 4 |
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); } } |