Page 1 of 1

'Problem' with PHP

Posted: 08 Apr 2024 23:39
by rjbill
I don't know if this is the correct location to report/request this.

If there is whitespace (a SPACE character) between a PHP FUNCTION name and the opening parenthesis,
the function names do not show their coloring.

This works in JavaScript, though.

For those of us who like to use whitespace for readability, it would be nice if it worked in PHP, too.

Re: 'Problem' with PHP

Posted: 09 Apr 2024 17:04
by Rickard Johansson
I've updated the PHP syntax file (PHP.syx) in v16.16 (final release).

If you want, you can make the change yourself. In PHP.syx change the #Methods=... to

Code: Select all

#Methods=[\w-_]+(?=[\s(])

Re: 'Problem' with PHP

Posted: 09 Apr 2024 17:42
by rjbill
Thanks.