aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-02-13 10:55:46 +1100
committerNeil <nyamatongwe@gmail.com>2015-02-13 10:55:46 +1100
commitbdea63376947a73a60a4bb91779ee8e0d476b5ad (patch)
tree5152fadec0196747acff3b33af6f5642e5ae496e /src
parent0dbd1c063a8c561533ceed157848789a65c42522 (diff)
downloadscintilla-mirror-bdea63376947a73a60a4bb91779ee8e0d476b5ad.tar.gz
Ensure style data OK before wrapping lines when changing documents.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx1
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;