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

Syntax highlighting does not cover the entire file #10

Open
roycetech opened this issue Mar 22, 2021 · 2 comments
Open

Syntax highlighting does not cover the entire file #10

roycetech opened this issue Mar 22, 2021 · 2 comments

Comments

@roycetech
Copy link

roycetech commented Mar 22, 2021

I have a fairly large handler library I used for resizing windows and I noticed that the syntax highlighting does not cover the entire file. In addition, those handlers that are not highlighted do not appear in the list when I trigger the goto Symbol.

A large library is probably a bad idea and should be refactored, but in the meantime, it might be simpler not to have this limitation?

My library is 1004 lines with comments, inline unit tests.

@idleberg
Copy link
Owner

I don't think that this an issue related to this package, but an issue with Sublime Text itself. I'm aware of limitations when it comes to very long lines, but not with long files. Maybe the parser takes a bit longer when it comes to long files?

@roycetech
Copy link
Author

I'm not really sure because I work on a legacy project with large files (10k lines) but I never encountered this issue. I've never worked on Sublime Text plugin but could try to dig when I get some free time and see if I can find anything. BTW thank you for your plugin, I find it very useful.

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

No branches or pull requests

2 participants