You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me some time to replicate this with a minimal example: when the file below loads, the single quote inside the heredoc is interpreted as an opening string, breaking the highlight from there downwards. Now the strangest things:
If I remove one single character before the heredoc, the file loads with highlighting working fine.
If I do any edit anywhere before the heredoc -- either adding or removing characters -- then highlighting is fixed.
Can anyone replicate this? Perhaps a font-lock issue?
The number 500 is based on the default value of syntax-propertize-chunk-size, which was introduced in #531 to improve performance. Your report was an important clue to the problem with the previous approach.
It took me some time to replicate this with a minimal example: when the file below loads, the single quote inside the heredoc is interpreted as an opening string, breaking the highlight from there downwards. Now the strangest things:
Can anyone replicate this? Perhaps a font-lock issue?
Here's how it looks in my computer:
Stock Debian Emacs 28.2, php-mode-20240621.742 from ELPA.
The text was updated successfully, but these errors were encountered: