Skip to content

Reduce rewrapping when agent diffs are present#48423

Merged
ConradIrwin merged 1 commit intomainfrom
rewrap-less
Feb 4, 2026
Merged

Reduce rewrapping when agent diffs are present#48423
ConradIrwin merged 1 commit intomainfrom
rewrap-less

Conversation

@ConradIrwin
Copy link
Member

Before this change any agent diff caused us to recompute the entire
buffer's wraps, because we didn't handle the base text of diffs
changing.

Now, thanks to anchors, we can do that.

Release Notes:

  • Fixed the editor rewrapping like crazy when agent edits were present

Before this change any agent diff caused us to recompute the entire
buffer's wraps, because we didn't handle the base text of diffs
changing.

Now, thanks to anchors, we can do that.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 4, 2026
@ConradIrwin ConradIrwin enabled auto-merge (squash) February 4, 2026 23:29
@ConradIrwin ConradIrwin merged commit ed3e18d into main Feb 4, 2026
29 checks passed
@ConradIrwin ConradIrwin deleted the rewrap-less branch February 4, 2026 23:36
rtfeldman pushed a commit that referenced this pull request Feb 5, 2026
Before this change any agent diff caused us to recompute the entire
buffer's wraps, because we didn't handle the base text of diffs
changing.

Now, thanks to anchors, we can do that.

Release Notes:

- Fixed the editor rewrapping like crazy when agent edits were present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant