Skip to content

Conversation

@ToddGrun
Copy link
Contributor

Previously, this validation pass would walk over the whole content of the original and changed texts. This change modifies it instead to walk over the affected ranges in the original and changed texts based on the given set of changes.

Previously, this validation pass would walk over the whole content of the original and changed texts. This change modifies it instead to walk over the affected ranges in the original and changed texts based on the given set of changes.
@ToddGrun ToddGrun requested a review from a team as a code owner October 23, 2025 13:54
Copy link
Member

@davidwengier davidwengier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It took me a while to reason about var changedEnd = textEnd + (changedText.Length - text.Length); but I think this makes sense. Hopefully the volume of our formatting tests prove it too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants