When using PHP objects, it's similar to the Perl object syntax:
[php]$object->method()
$object->property[/php]
Anyway, the -> operator, even though I've defined it in my word file, will only highlight the dash, but not both the dash AND the bracket when I do stuff like this:
[php]$object->method()
$object->_private
$object->property[/php]
but if I follow the bracket with something like quotes, forward slash, space, and some other characters:
[php]$object->"string"
$object->//comment
$object-> space_before_method()[/php]
Then the -> operator highlights properly.
Is there a way to ensure that the -> operator is highlighted regardless of what comes after it?
Thanks,
Jon
[php]$object->method()
$object->property[/php]
Anyway, the -> operator, even though I've defined it in my word file, will only highlight the dash, but not both the dash AND the bracket when I do stuff like this:
[php]$object->method()
$object->_private
$object->property[/php]
but if I follow the bracket with something like quotes, forward slash, space, and some other characters:
[php]$object->"string"
$object->//comment
$object-> space_before_method()[/php]
Then the -> operator highlights properly.
Is there a way to ensure that the -> operator is highlighted regardless of what comes after it?
Thanks,
Jon