-
Notifications
You must be signed in to change notification settings - Fork 31
Virtualization Part 2 #281
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
Draft
amadeus
wants to merge
27
commits into
main
Choose a base branch
from
amadeus/virtualization-part-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or 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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
bbae805 to
a86c7d3
Compare
9fd37f6 to
ed61192
Compare
ed61192 to
20570bd
Compare
20570bd to
05a72a6
Compare
05a72a6 to
837c217
Compare
837c217 to
1750c88
Compare
A much needed configuration for all of this...
It works, and it definitely shows promise!
This one i think _feels_ a bit better? as it manages to better utilize the window rendering system to only render what's necessary...
Not quite ready yet, since we still need to figure out how to join buffers to appended content...
This should fix the broken buffer regions
* Hovers will be controlled by JS (not yet implemented) * Also fix a bug on selected context elements
This will not fix incomplete or selections that are virtualized... that will take a bit more work... We will need a new API to get line index from a diff/file...
A few important changes here.
* Line indexes when setting a selection should not be based on the DOM
as that's not a valid heuristic for index range to select from
* Added a helper method to determine line indexes programmatically from
the dif
* We should probably do something where we can cache the line index
values onces we've retrieved them for a selection, calling the
function on every render is probably not ideal if it's a large
file...
Basically just use the helper method completely
f38cb92 to
cd6a24d
Compare
The logic for partial renders was inverted, oops
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP