- Notifications
You must be signed in to change notification settings - Fork 119
Closed
Description
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?
<?php//....................class Test{publicfunctiona12345678(){//........//................................................//........................//.....................................//....................................................//....// } publicfunctiona123456789012345678901(){// .................// ..............// ........// .echo<<<EOTXT I'm here. EOTXT} publicfunctionnotHighlighted(){} }Here's how it looks in my computer:
Stock Debian Emacs 28.2, php-mode-20240621.742 from ELPA.
zonuexe
Metadata
Metadata
Assignees
Labels
No labels
