migrator/utils/edit_applier library

Functions

applyEdits(String source, List<TextEdit> edits) String
Applies a set of TextEdits to source safely, resolving overlaps by preferring the edit with the smaller (outer/parent) offset.