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

Fix selecting a changed file in global search #5639

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

pascalkuthe
Copy link
Member

fixes #5604

@pascalkuthe
Copy link
Member Author

See #5604 (comment) for more details

@pascalkuthe pascalkuthe added C-bug Category: This is a bug E-easy Call for participation: Experience needed to fix: Easy / not much S-waiting-on-review Status: Awaiting review from a maintainer. labels Jan 23, 2023
Copy link
Member

@the-mikedavis the-mikedavis left a comment

Choose a reason for hiding this comment

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

I agree, let's fix the panic for now since it's easy to trigger. It would be really nice to use the buffer contents rather than disk contents for global search for any open files as you say. I think that might be tricky to do with the search we use from the ignore crate though

@the-mikedavis the-mikedavis changed the title fix selecting a changed file in global search Fix selecting a changed file in global search Jan 23, 2023
@the-mikedavis the-mikedavis merged commit 361a834 into helix-editor:master Jan 23, 2023
@pascalkuthe pascalkuthe deleted the picker_panic branch January 23, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug E-easy Call for participation: Experience needed to fix: Easy / not much S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helix panics if we try to jump to a non existent line
2 participants