diff options
author | nyamatongwe <unknown> | 2010-01-21 12:57:34 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-01-21 12:57:34 +0000 |
commit | 5a64182017a5b0fc8216349e834c59790b216576 (patch) | |
tree | be0aad849b0079ef8ac7af12dc32505cd6e0f648 /src | |
parent | 19823f881f3e5af9f2353fe6be1a2190ae071357 (diff) | |
download | scintilla-mirror-5a64182017a5b0fc8216349e834c59790b216576.tar.gz |
Fix for bug #2936108 SC_WRAPVISUALFLAGLOC_END_BY_TEXT has not worked since
2.0.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index da37d4781..b57b0c85a 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2351,7 +2351,7 @@ void Editor::DrawEOL(Surface *surface, ViewStyle &vsDraw, PRectangle rcLine, Lin PRectangle rcPlace = rcSegment; if (wrapVisualFlagsLocation & SC_WRAPVISUALFLAGLOC_END_BY_TEXT) { - rcPlace.left = ll->positions[ll->numCharsInLine] + xStart + virtualSpace; + rcPlace.left = xEol + xStart + virtualSpace; rcPlace.right = rcPlace.left + vsDraw.aveCharWidth; } else { // draw left of the right text margin, to avoid clipping by the current clip rect |