diff options
author | nyamatongwe <unknown> | 2012-04-12 23:37:18 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-04-12 23:37:18 +1000 |
commit | cf376591f1c44cdf9c4b8ab0c5881572a3ae57ec (patch) | |
tree | ed0f10b8e8e4ef4918504b2cb2b695e3e670c894 /src | |
parent | ade021a7022a79c56a9c5bd6b4f68f1906860809 (diff) | |
download | scintilla-mirror-cf376591f1c44cdf9c4b8ab0c5881572a3ae57ec.tar.gz |
Avoid drawing alpha selection into wrap indentation area. Bug #3515555.
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 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++) { |