-
Notifications
You must be signed in to change notification settings - Fork 698
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
Panic when pasting large text twice #1112
Comments
Interesting, haven't seen this before. The crash is in code I wrote in december, so I'll take a look. |
I am able to reproduce this on master only when syntect-plugin is enabled. |
We were trying to preserve the entire task in a case where we only should have been preserving the 'tail' of the task. - Fixes xi-editor#1112
We were trying to preserve the entire task in a case where we only should have been preserving the 'tail' of the task. - Fixes xi-editor#1112
Im experiencing something similar. But it doesnt happen on copy-paste of large text. I have a file with ~110k lines. The file opens up with a lot, A LOT, of
errors and when I try to clear the file by doing ⌘ A and backspace I get similar stacktrace along with
Hope this is helpful in some way. |
this should be fixed in #1129, if either of you want to try that? |
We were trying to preserve the entire task in a case where we only should have been preserving the 'tail' of the task. - Fixes #1112
I hate to be the one to say this but I still get errors
But the good news is the UI doesn't crash anymore. I can keep using it like nothing happened. |
This looks like an issue with xi-syntect. It's probably worth opening a new issue for this. |
@sjoshid I agree, this is a different crash. Can you open a new issue with reproduction steps? |
Sure. Created #1136. |
If I copy
core-lib/view.rs
and paste it twice then xi panics:Not entirely sure what the problem is.
The text was updated successfully, but these errors were encountered: