aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMarko Njezic <devnull@localhost>2011-06-14 12:58:03 +0200
committerMarko Njezic <devnull@localhost>2011-06-14 12:58:03 +0200
commitf87ff21b8999735b42cd09b4161bf3cc41f628cc (patch)
tree0ffbb7b11ca870059665471d348bde1c9946b468 /src
parent0a344acd1fcde52c19ef729e2d352b4faf6230e3 (diff)
downloadscintilla-mirror-f87ff21b8999735b42cd09b4161bf3cc41f628cc.tar.gz
Fix edge line display on wrapped lines. Bug #3314807.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
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);
}