diff options
author | Marko Njezic <unknown> | 2011-06-14 12:58:03 +0200 |
---|---|---|
committer | Marko Njezic <unknown> | 2011-06-14 12:58:03 +0200 |
commit | a9571e88f0f0c095f291d8fa0cc2351b6563e690 (patch) | |
tree | e4883684d709c981bce3c5e30b500c35942e057e /src/Editor.cxx | |
parent | 33de65c9d3e02f1e3d2d71a0f5cfefa1cb4a0b0f (diff) | |
download | scintilla-mirror-a9571e88f0f0c095f291d8fa0cc2351b6563e690.tar.gz |
Fix edge line display on wrapped lines. Bug #3314807.
Diffstat (limited to 'src/Editor.cxx')
-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); } |