https://bugzilla.wikimedia.org/show_bug.cgi?id=30130
--- Comment #12 from Junaid <[email protected]> 2011-08-02 11:46:08 UTC --- I didn't say the code overwrite entire word :( The magic is happening in replaceString(). The function splits the string in the field to three parts (not considering middle part), then recombines it it back using replacement (variable named newString) as middle part. Then adjust the caret to new position. So it does not fail in replacement. (variable names in my code may confuse you, sorry) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
