diff options
author | nyamatongwe <devnull@localhost> | 2007-11-11 07:27:57 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-11-11 07:27:57 +0000 |
commit | d2d4e5cf62507528ed28f068131636616feff6ed (patch) | |
tree | e3e6d6aba3e15cadc4e257d68d2c6cede7634dac | |
parent | 5e740cc1fac4de4dd1f3e465614b6ccd8671e3a3 (diff) | |
download | scintilla-mirror-d2d4e5cf62507528ed28f068131636616feff6ed.tar.gz |
Fixed bug with modern indicators when wrap turned on and indicator not on
first line.
-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 a1a48a08b..9107102ff 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2177,7 +2177,7 @@ void Editor::DrawIndicators(Surface *surface, ViewStyle &vsDraw, int line, int x for (Decoration *deco = pdoc->decorations.root; deco; deco = deco->next) { if (under == vsDraw.indicators[deco->indicator].under) { - int startPos = posLineStart + subLineStart; + int startPos = posLineStart + lineStart; if (!deco->rs.ValueAt(startPos)) { startPos = deco->rs.EndRun(startPos); } |