HomePhabricator

Maintain a transaction-wide offset adjustment

Description

Maintain a transaction-wide offset adjustment

This fixes a bug where the second replace operation in a transaction
would cause the rebuild of the wrong range, or the adjustment of the
wrong text node.

Change-Id: I9b1c68d84999d538fe10bb193f4dfdd694121d2a

Details