+3

Syntax highlighting should ignore white-space where the language ignores it.

Liam Clay 13 year бұрын 0
Foo :: Bar( );
Should display the same as it does when there is no white-space either side of the scope resolution operator (::)

$instance -> hi
(
    'masses and masses',
    'of params',
    'so it isn\'t ideal',
    'to put this on one line'
);
Should display the same as if the parenthesis was on the same line as the function. There are many more examples of this behaviour.