7466f6e1ff
When code indentation is replaced, strings should not be updated. This loop had inverted logic which meant that after processing a string before the current line, we would then exit early and not look at the subsequent string ranges (which we might be a match for). Fixes https://github.com/dart-lang/sdk/issues/60951 Change-Id: I1a94ca05e968bb7f2193544779b2634b784f8aee Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435580 Commit-Queue: Keerti Parthasarathy <keertip@google.com> Reviewed-by: Keerti Parthasarathy <keertip@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>