Comment 2 for bug 646861

Revision history for this message
Toshio Kuratomi (toshio) wrote :

This patch works with the text added event rather than the changed event so it should fire closer to when the event occurs. It uses iterator methods so that we don't get the warnings listed in the last comment. It handles both adding characters one at a time and pasting a string with multiple instances of the replacement charaxters in it.