-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[NBug] 0 <= offset < 9631. Parameter name: offset. #7784
Comments
I also ran into this bug today. It specifically happens on Find (selection only) operations.
Note: The application only crashes when doing a find next/previous. Find all and highlight does not cause a crash. |
Reproduced |
This is specific to "selection only" searches. Steps to reproduce when working with File tree:
I could also reproduce the bug in File history view. Cause:FindAndReplaceForm uses TextMarker to represent the region to scan when searching. Looks like it was chosen because it reacts to changes to the document and adjusts accordingly. Possible fix: Discard "selection only" search mode when the viewer needs to show another file. |
(cherry picked from commit 4df3fb4)
Current behaviour
I simply navigate and search between files in a previous commit (File tree). A new search "Find next" give me this error.
Expected behaviour
Search the text (highlight text and jump to the location)
Steps to reproduce
I don't know how to reproduce now. Previous searches work fine.
Error Details
Additional information
I simply navigate and search between files in a previous commit (File tree). A new search "Find next" give me this error.
Environment
The text was updated successfully, but these errors were encountered: