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 | bdea63376947a73a60a4bb91779ee8e0d476b5ad (patch) | |
tree | 5152fadec0196747acff3b33af6f5642e5ae496e | |
parent | 0dbd1c063a8c561533ceed157848789a65c42522 (diff) | |
download | scintilla-mirror-bdea63376947a73a60a4bb91779ee8e0d476b5ad.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; |