diff options
author | nyamatongwe <devnull@localhost> | 2012-02-03 21:55:06 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-02-03 21:55:06 +1100 |
commit | f61e7637a96d944903917df68f5d3646c292d9a2 (patch) | |
tree | ee0e75efdb19f4ab3d895bbb6a206303bd04b2a7 | |
parent | d8f820e5c36ddf12e39d6bbc94aa0c37ccee013a (diff) | |
download | scintilla-mirror-f61e7637a96d944903917df68f5d3646c292d9a2.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); } |