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

CSS highlighter locks up application #261

Open
quartexNOR opened this issue Aug 9, 2024 · 3 comments
Open

CSS highlighter locks up application #261

quartexNOR opened this issue Aug 9, 2024 · 3 comments

Comments

@quartexNOR
Copy link

The CSS highlighter, when used with a modern css file, just freezes the entire application.
I have tried to track down where in the code this might happen, but the freeze is so hard that the debugger doesnt even kick in.
I have a hunch that its a matter of new CSS keyword which the parser does not know. I am not intimately familiar with how the highlighter works, but i noticed that it uses a hash based lookup table, which might explain the issue when faced with an unknown keyword, or syntax for a known keyword that has changed in later times.

Right now, the css highlighter cannot be used, which is really sad because it was very useful.

@pyscripter
Copy link
Contributor

Duplicate of #241

@pyscripter pyscripter marked this as a duplicate of #241 Aug 9, 2024
@quartexNOR
Copy link
Author

Here is the fix.
image

@darnocian
Copy link

darnocian commented Oct 31, 2024

Some of the highlighter files look like they were generated by the SynGen tool. i've been trying to find their original sources. Any ideas?

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

3 participants