-
Notifications
You must be signed in to change notification settings - Fork 3
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
font lock string face #64
Comments
I was working on some code a few months ago that might help out with this. Check out #31. |
You could use "lookarounds" instead. |
Does emacs implement those? |
Would (could) that be ready soon? |
The part that highlights |
The desire to highlight the contents of such big strings is perhaps a good argument against doing any highlighting of |
That makes sense! I removed the |
Is this still an issue after #31? |
I use the code
to try to highlight strings delimited by /// ... ///, but the regular expression is so complicated (with backtracking) that it can sometimes cause a delay up to 45 seconds when using C-s to search through a file, as @mikestillman has observed.
We could simplify the regular expression drastically to "///.*///", and not worry about getting every single case correct.
The text was updated successfully, but these errors were encountered: