-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(audoedit): simplify diff utils and renderer data structures (#6172
) - No functional changes. - Simplifies data structures used to calculate the diff between the current document content and predicted edits. - Simplifies data structures used to render autoedit decorations. - Removes redundant data structures and transformations happening between the diff calculation and the renderer call. - Adds granular `changes: LineChange` to `ModifiedLineInfo`, representing individual insertions and deletions in modified lines. This is helpful for troubleshooting purposes, and I plan to use it for the experimental inline renderer implementation that we discussed recently in Slack. - Updates the default autoedits renderer to use all the above changes.
- Loading branch information
1 parent
bdf587d
commit ffb6bcb
Showing
9 changed files
with
840 additions
and
533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.