Hello!
Given an `import ... show a,b,c', I'm trying to produce code that delete possibly two or more identifiers from the `show` list.
The thing is, dealing with commas is a bit tedious.
There's `RangeFactory.nodeInList` to help with obtaining the range for an item and its surroundings comma.
But unfortunately if we do:
for (final node in nodes) {
builder.addDeletion(range.nodeInList(list, node));
}
This ends-up producing a ConflictingEditException if two deleted elements are siblings.
I assume this happens because they are both trying to delete the same newline or comma.
Is there a solution for this, or do I have to deal with merging the SourceRanges myself?