aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-02-03 21:55:06 +1100
committernyamatongwe <unknown>2012-02-03 21:55:06 +1100
commit6ec4a5bc75d2f48a0524e89b8418d297cdd4fd3e (patch)
treef5055735f3e6075729b3fc27d0e6e82ad030c492
parent072863d656ccf66a62b9aec2ccb1184eba23edf6 (diff)
downloadscintilla-mirror-6ec4a5bc75d2f48a0524e89b8418d297cdd4fd3e.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);
}