diff options
author | Marko Njezic <devnull@localhost> | 2011-06-14 12:58:03 +0200 |
---|---|---|
committer | Marko Njezic <devnull@localhost> | 2011-06-14 12:58:03 +0200 |
commit | f87ff21b8999735b42cd09b4161bf3cc41f628cc (patch) | |
tree | 0ffbb7b11ca870059665471d348bde1c9946b468 /src | |
parent | 0a344acd1fcde52c19ef729e2d352b4faf6230e3 (diff) | |
download | scintilla-mirror-f87ff21b8999735b42cd09b4161bf3cc41f628cc.tar.gz |
Fix edge line display on wrapped lines. Bug #3314807.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 14d2b2673..587aa8050 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2929,6 +2929,8 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis if (vsDraw.edgeState == EDGE_LINE) { int edgeX = theEdge * vsDraw.spaceWidth; rcSegment.left = edgeX + xStart; + if ((ll->wrapIndent != 0) && (lineStart != 0)) + rcSegment.left -= ll->wrapIndent; rcSegment.right = rcSegment.left + 1; surface->FillRectangle(rcSegment, vsDraw.edgecolour.allocated); } |