On 14/06/2011 6:51 PM, sharpblade wrote:
I whipped up this function: http://pastebin.com/kaZz5dBd which should work, but line 22 and 23 doesn't work for some reason - all text after it is bold.
The last thing you do in those lines is set the range to bold - presumably later you then insert more text right at the end of the range - maybe word is just keeping the bold for the new text just like it would do if you where typing (ie, IIRC, if the cursor is at the end of a bold range, new text you type is also bold...)
Or not - just a thought :) Mark _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32