diff options
| author | nyamatongwe <devnull@localhost> | 2008-01-19 03:07:58 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2008-01-19 03:07:58 +0000 | 
| commit | 55a25ce56daec5128348ec882f773044dc9dfa86 (patch) | |
| tree | 4e1fb737f08fb267185601e49b10659637b91ad9 /src | |
| parent | 89a39d969a2231cfb68bc8b0c2b27952e6d27c09 (diff) | |
| download | scintilla-mirror-55a25ce56daec5128348ec882f773044dc9dfa86.tar.gz | |
Added SC_MARK_LEFTRECT margin marker.
Diffstat (limited to 'src')
| -rw-r--r-- | src/LineMarker.cxx | 4 | 
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);  	} | 
