Jim Chen ffd6532bd7 Bug 1123514 - Correctly calculate text replacement offset; r=esawin
Fix a mistake in calculating the correct offset for one of the
replacement steps, which caused the IndexOutOfBoundsException. The old
code used `oldEnd` for the second text replacement without taking into
account the offset change as a result of the first text replacement that
was already performed. The new code correctly takes the offset, `delta`,
into account.
2016-11-06 18:44:09 -05:00
..