aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-02-03 21:55:06 +1100
committernyamatongwe <devnull@localhost>2012-02-03 21:55:06 +1100
commitf61e7637a96d944903917df68f5d3646c292d9a2 (patch)
treeee0e75efdb19f4ab3d895bbb6a206303bd04b2a7
parentd8f820e5c36ddf12e39d6bbc94aa0c37ccee013a (diff)
downloadscintilla-mirror-f61e7637a96d944903917df68f5d3646c292d9a2.tar.gz
Fix crash in wrap mode with DirectWrite when wrapping added text before
fonts realised.
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 26032b85f..8f8478e96 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4496,6 +4496,7 @@ void Editor::CheckModificationForWrap(DocModification mh) {
if (wrapState != eWrapNone) {
NeedWrapping(lineDoc, lineDoc + lines + 1);
}
+ RefreshStyleData();
// Fix up annotation heights
SetAnnotationHeights(lineDoc, lineDoc + lines + 2);
}