-
Notifications
You must be signed in to change notification settings - Fork 15
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
Crash on load of completely valid file #10
Comments
@Anviking I have been able to reproduce the crash with the older version (before the fixes yesterday). With the fixes, attempting to reproduce the crash does not crash it anymore. Instead the text is unhighlighted (just white), and this is logged: |
@NerdYouDontKnow This is very interesting! 😄 If we look at the relevant parts in the
When indexes are cleared (removed) they should be re-tokenized. Apparently they are not, which might indicate that this is related to #16 and that Before 0241655 it crashed because it tried to refresh indexes that were out of bounds to the textStorage. Somehow the block-comment pattern must have been performed twice and found less block-comments the second time. Did something remove text from the textStorage? If the textStorage was not edited, maybe, maybe the first crash was because, as stated earlier, |
@Anviking Yes, I repeatedly use |
Here is the data that it being inserted into the JLTextView (in string form):
Here is the crash that is generated:
NSException Description:
Something logged just before crash:
I have not been able to find a trigger for this crash yet.
The text was updated successfully, but these errors were encountered: