aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-04-12 23:37:18 +1000
committernyamatongwe <devnull@localhost>2012-04-12 23:37:18 +1000
commit2df0c128e1ea926101b371208a6a86a875465926 (patch)
treea4723158c062c790126f0f510aef2e774b484037
parentcf13e3ed50678dd18d035a4f4cae8eab6d338827 (diff)
downloadscintilla-mirror-2df0c128e1ea926101b371208a6a86a875465926.tar.gz
Avoid drawing alpha selection into wrap indentation area. Bug #3515555.
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 8847075ac..2376af413 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3237,7 +3237,7 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis
if (subLine == (ll->lines - 1)) {
virtualSpaces = sel.VirtualSpaceFor(pdoc->LineEnd(line));
}
- SelectionPosition posStart(posLineStart);
+ SelectionPosition posStart(posLineStart + lineStart);
SelectionPosition posEnd(posLineStart + lineEnd, virtualSpaces);
SelectionSegment virtualSpaceRange(posStart, posEnd);
for (size_t r=0; r<sel.Count(); r++) {