diff options
author | Neil <nyamatongwe@gmail.com> | 2015-02-13 10:55:46 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-02-13 10:55:46 +1100 |
commit | 1e2bd9791d1d88ca33411ab0b79d263fea4c4cbe (patch) | |
tree | 15044a37fe888388eab6fd9dfefda5da8c6fa601 | |
parent | a0719a469c2005cbeba2cbdb7b5625fbab4b17c9 (diff) | |
download | scintilla-mirror-1e2bd9791d1d88ca33411ab0b79d263fea4c4cbe.tar.gz |
Ensure style data OK before wrapping lines when changing documents.
-rw-r--r-- | src/Editor.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 8c406242d..3919b7c17 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4833,6 +4833,7 @@ void Editor::SetBraceHighlight(Position pos0, Position pos1, int matchStyle) { void Editor::SetAnnotationHeights(int start, int end) { if (vs.annotationVisible) { + RefreshStyleData(); bool changedHeight = false; for (int line=start; line<end && line<pdoc->LinesTotal(); line++) { int linesWrapped = 1; |