-
Notifications
You must be signed in to change notification settings - Fork 159
Description
Writing strings in heredoc format with PHP as the selected language results in comments no longer being recognized as comments.
Take the following code for generating an email with PHPMailer:
$body = <<<EMAILBODY
<html>
<body style='border: .5em outset #007FFF; border-radius: 10px; box-shadow: 4px 4px 4px black; background-color: white; color: black; font-family: Metropolis;'>
<div style='background-color: white; color: black'>
<div style='background-color: #007FFF; color: white; text-align: center; font-weight: bold; height: 33px; font-size: 20px;'>
$subject
</div>
<div style='padding: 15px;'>
$message
</div>
</div>
</body>
</html>
EMAILBODY;
// This comment is not grey, the color comments should be in the selected theme
As noted in the comment itself, the comment at the end of this code block no longer highlights in comment colorization, nor will any comments in the document below that point.
This is probably really a Scintilla bug, I would imagine, that is affecting Komodo... I'm not sure the protocol for reporting in that case, but I imagine having an issue here would still make sense since a later version might fix it and the resolution would then be to update Scintilla.
I'm not yet familiar enough with the codebase to know if that actually requires a rebuild of the application. I figure it might, but it could also just be a matter of dropping in an updated DLL. If that's the case, it might be reasonable that it could be fixed without heroic effort... So I guess that's the point of this bug report - to ask that question.
A somewhat off-subject secondary question that is admittedly partially why I decided to make a bug report: I was also wondering if anyone had looked at PaleMoon's implementation of XUL (UXP) as a way of breathing life back into this project? I'm sure it would take some work, but might be something I could be interested in undertaking depending on how heroic of an effort that would be.