diff options
author | nyamatongwe <devnull@localhost> | 2005-04-09 01:39:00 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-04-09 01:39:00 +0000 |
commit | 10c93c1fc481c7e969b446221f3244994fa08d1c (patch) | |
tree | bcac3a73810313c13eda7afb5c029b8e972e5a35 | |
parent | b3761ca728ee527e73aa8e8983266c01da4489b5 (diff) | |
download | scintilla-mirror-10c93c1fc481c7e969b446221f3244994fa08d1c.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); } } |