This is a minor thing, yet here it is: in PHP highlighter numbers can be highlighted as numbers (no surprise here) or methods, depending on the next character: pink color in the screenshot below is `number`, while lightgreen -- `method`:
FIXED? Inconsistent highlighting in PHP
FIXED? Inconsistent highlighting in PHP
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
- Rickard Johansson
- Site Admin
- Posts: 6742
- Joined: 19 Jul 2006 14:29
Re: Inconsistent highlighting in PHP
The following change in the syntax file seems to fix it:
Code: Select all
#MethodDecl method=(?<=::)[\w-_]+(?=\s?[(])
#Methods=[\w-_]+(?=\s?[(])
Re: FIXED? Inconsistent highlighting in PHP
Thank you! It works great...
...but I had to change my theme from Windows (well, my own one based on Windows theme) to Amakrits, since with my theme the window was blank.
...but I had to change my theme from Windows (well, my own one based on Windows theme) to Amakrits, since with my theme the window was blank.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus