PHP lexer

All questions regarding lexer highlighting schemes are discussed here...
Post Reply
ANewUser
Posts: 50
Joined: 25.01.2020 12:15

PHP lexer

Post by ANewUser »

https://i.imgur.com/snpSMJB.png
Maybe different style for constants. The static is already recognized.

Code: Select all

$this self parent

Code: Select all

$GLOBALS
$_SERVER
$_GET
$_POST
$_FILES
$_REQUEST
$_SESSION
$_ENV
$_COOKIE
$php_errormsg
$HTTP_RAW_POST_DATA
$http_response_header
$argc
$argv

Code: Select all

PHP_OS_FAMILY
PHP_FLOAT_DIG
PHP_FLOAT_EPSILON
PHP_FLOAT_MIN
PHP_FLOAT_MAX
PHP_FD_SETSIZE
E_RECOVERABLE_ERROR
PHP_WINDOWS_EVENT_CTRL_C
PHP_WINDOWS_EVENT_CTRL_BREAK
Thank you!
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Agree, made them all colored like constants. lexer PHP_.lcf updated at
https://github.com/Alexey-T/CudaText/tr ... ata/lexlib
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Updated PHP_ lexer again, made separate style for 'modifiers'
abstract
final
private
protected
public
static

and fixed style for self/parent.
Post Reply