diff options
author | nyamatongwe <unknown> | 2009-05-09 23:47:34 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-05-09 23:47:34 +0000 |
commit | 0ae5f25c83deabac2c8298916d1cc58888c8c796 (patch) | |
tree | 65d1f3b74acfbd10db1752592780ce8192d1f724 | |
parent | 6bab2caac9c8a15c1eb23f1193b04b682da99b73 (diff) | |
download | scintilla-mirror-0ae5f25c83deabac2c8298916d1cc58888c8c796.tar.gz |
Fixed bug #2789430 SCI_ANNOTATIONSETSTYLE with multi-line annotations
shows all text on each 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 28a0ce60e..d1aba6885 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1503,7 +1503,7 @@ void DrawStyledText(Surface *surface, ViewStyle &vs, int styleOffset, PRectangle } else { int style = st.style + styleOffset; surface->DrawTextNoClip(rcText, vs.styles[style].font, - rcText.top + vs.maxAscent, st.text, st.length, + rcText.top + vs.maxAscent, st.text + start, length, vs.styles[style].fore.allocated, vs.styles[style].back.allocated); } |