richedit: Add closing actions for IRichEditOle_fnInsertObject.
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 10 Aug 2009 14:53:48 +0000 (10:53 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 10 Aug 2009 15:10:24 +0000 (17:10 +0200)
commitfc618ab041e3c45a10cdbecc44203d70d3bb73b6
tree9228b8b85f463b5d0d0da0b4686fe69fa1f45c5f
parent71cb069246398cc01bbd883a8a6bfd7d1269d53a
richedit: Add closing actions for IRichEditOle_fnInsertObject.

Previously inserting the object didn't result in the text being wrapped,
which would cause an assertion error when this is checked for during
repainting the text.  It is also important to invalidate the affected
areas of text, update the scrollbar, and end the creation of undo
transactions for this insertion.
dlls/riched20/caret.c
dlls/riched20/richole.c