richedit: Avoid rewrapping all text for isolated format changes.
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 5 Jan 2009 18:14:41 +0000 (13:14 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 6 Jan 2009 11:52:09 +0000 (12:52 +0100)
commit28645c64d54f74283d13e4ea05b549d74029ee23
tree2e67053ac7a6798f6f9f272c3f79dbe4d633dc4d
parent6df4148b04e18274a09967138b733b4c242d9d79
richedit: Avoid rewrapping all text for isolated format changes.

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.
dlls/riched20/editor.c