From 6ec4a5bc75d2f48a0524e89b8418d297cdd4fd3e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 3 Feb 2012 21:55:06 +1100 Subject: Fix crash in wrap mode with DirectWrite when wrapping added text before fonts realised. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); } -- cgit v1.2.3