Skip to content

Conversation

@sandersn
Copy link
Member

@sandersn sandersn commented May 2, 2022

processChildNodes needs to skip processing when the node array is outside the target range, just like processChildNode already does for a single node.

The new code is copied from processChildNode and skipToEndOf changes to allow Node | NodeArray.

Fixes #48006

processChildNodes needs to skip processing when the node array is
outside the target range, just like processChildNode already does for a
single node.

Fixes #48006
@sandersn sandersn requested a review from gabritto May 2, 2022 19:22
@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels May 2, 2022
@sandersn sandersn assigned andrewbranch and unassigned sandersn May 2, 2022
@sandersn sandersn requested a review from andrewbranch May 2, 2022 19:22
@sandersn sandersn merged commit e73d755 into main May 2, 2022
@sandersn sandersn deleted the fix-formatter-processChildNodes branch May 2, 2022 19:50
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paste into editor with format on paste removes pasted word

5 participants