richedit: Avoid rewrapping all text for isolated format changes.
dylan.ah.smith at gmail.com
Mon Jan 5 12:14:41 CST 2009
When the character or paragraph format is changed the paragraph that is
changed is already marked to be rewrapped, so ME_MarkAllForWrapping
shouldn't be called. Since ME_RewrapRepaint uses this function, it
shouldn't be called in these circumstances, since rewrapping all the
text can cause noticable delays when working with a lot of text.
The problem this patch fixes can be seen by opening up a large text file
in wordpad, selecting a single word, then making that word bold. This
can cause quite a needless delay for a very large file.
dlls/riched20/editor.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches