-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement editing, find/replace in streaming model #316
Conversation
bf37be5
to
9e249f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 . Some comments on those larger functions :). Don't forget to fix the bugs we went over
Fixed a bunch of those, the remainder I will take care of when I return Tuesday
The quickpick bug we hit is an easy repro and captured in microsoft/vscode#137558 |
This approach will not work, it's wildcards and not placeholders. But committing it if we need it in the future...
This should be good to go now. I'll write up a TPI over holiday. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* fixup! comments * refactor: updates to webview side of things * initial working bytes display * data display and basic selection * get selection more up to snuff * finish data selection and display side * refactor: use custom state for selection to improve performance * tweaks * Implement editing, find/replace in streaming model (#316) * wip * fixup, get replacement editing working * unsaved ranges and go to offset * chore: remove dead code * feat: implement virtual scroll * wip * refactor: add comments and clean up math * find/replace * feat: undo/redo * fix: focus issues with go to offset quickpick * fix: focus back to the byte when hiding find widget * fix: binary in search, cap results by default for perf, progress * fix: don't change selected toolbar background on hover * fix: issues with length changes and large find/replace * feat: add replace toggle * feat: show better validation for find widget errors * feat: wip on string search with placeholders This approach will not work, it's wildcards and not placeholders. But committing it if we need it in the future... * feat: support placeholders in search * feat: persist webview state information * fix: make revert work
This implements editing, include find and replace. Undo/redo doesn't work, I'll toss that in tomorrow morning. After this I'll swap to some of my other iteration work.