Skip to content

fix(#2568): hijack_cursor positions at top grouped node #2569

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

Merged
merged 2 commits into from
Dec 9, 2023

Conversation

alex-courtis
Copy link
Member

fixes #2568

local node = node_
while node.parent and node.parent.group_next do
---Get the highest parent of grouped nodes
---@param node table
Copy link
Member Author

Choose a reason for hiding this comment

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

Existing callers are nil safe.

local node = node_
while node.parent and node.parent.group_next do
---Get the highest parent of grouped nodes
---@param node Node
Copy link
Member Author

Choose a reason for hiding this comment

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

Many thanks @Akmadan23

Copy link
Collaborator

@Akmadan23 Akmadan23 left a comment

Choose a reason for hiding this comment

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

Good catch!

@Akmadan23 Akmadan23 merged commit 0a7c24b into master Dec 9, 2023
@Akmadan23 Akmadan23 deleted the 2568-hijack-position branch December 9, 2023 23:13
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.

Hijacked Cursor Moves To Last Grouped Folder
2 participants