Bug 878843 - Integrate with replaceSurroundingText for autocorrect
Merge pull request #10165 from comoyo/replace_surrounding

Replace surrounding. r=fabrice