Skip to content
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

[SuperEditor][SuperReader] - Reduce uses of node index queries in Document (Resolves #2434) #2435

Merged
merged 4 commits into from
Dec 5, 2024

Conversation

matthew-carroll
Copy link
Contributor

@matthew-carroll matthew-carroll commented Nov 30, 2024

[SuperEditor][SuperReader] - Reduce uses of node index queries in Document (Resolves #2434)

This PR changes as many calls as possible from index-based node access to either getting a node by ID, or getting a node before/after another node. This is in preparation for changes to a tree document, for which those behaviors still make sense, but accessing at an index doesn't.

Copy link
Collaborator

@angelosilvestre angelosilvestre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matthew-carroll matthew-carroll merged commit bda71a4 into main Dec 5, 2024
13 of 14 checks passed
@matthew-carroll matthew-carroll deleted the 2434_reduce-use-of-node-indexing branch December 5, 2024 06:30
github-actions bot pushed a commit that referenced this pull request Dec 5, 2024
matthew-carroll added a commit that referenced this pull request Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SuperEditor][SuperReader] - Minimize uses of node indices
2 participants