tmysik commented on code in PR #9074:
URL: https://github.com/apache/netbeans/pull/9074#discussion_r2610280034


##########
php/php.editor/src/org/netbeans/modules/php/editor/lexer/GSFPHPLexer.java:
##########
@@ -65,6 +65,12 @@ public Token<PHPTokenId> nextToken() {
             PHPTokenId tokenId = scanner.nextToken();
             Token<PHPTokenId> token = null;
             if (tokenId != null) {
+                if (tokenId == PHPTokenId.PHP_CONSTANT_ENCAPSED_STRING) {
+                   PHP5ColoringLexer.LexerState state = scanner.getState();
+                   if (state.heredoc != null && state.heredoc.contains("CSS")) 
{

Review Comment:
   Just thinking whether it should be `.contains()` or something more 
specific... :thinking: 
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to