diff options
author | nyamatongwe <unknown> | 2012-02-03 21:55:06 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-02-03 21:55:06 +1100 |
commit | 6ec4a5bc75d2f48a0524e89b8418d297cdd4fd3e (patch) | |
tree | f5055735f3e6075729b3fc27d0e6e82ad030c492 | |
parent | 072863d656ccf66a62b9aec2ccb1184eba23edf6 (diff) | |
download | scintilla-mirror-6ec4a5bc75d2f48a0524e89b8418d297cdd4fd3e.tar.gz |
Fix crash in wrap mode with DirectWrite when wrapping added text before
fonts realised.
-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 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); } |