klmr / hyperlight

Automatically exported from code.google.com/p/hyperlight
16 stars 3 forks source link

Highlighter for PHP has horrible control for CSS targets. #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There are very few keywords you can target for CSS, so I went ahead and 
implemented finer control. Patch is attached. I haven't looked through any 
other highlighters so if the keyword subgroups need renamed to match other 
languages I won't be offended.

There are also some keywords added in PHP 5.4/5.5 that were missing; they are 
also in the attached diff.

Original issue reported on code.google.com by morrison...@gmail.com on 16 Nov 2013 at 1:07

Attachments:

GoogleCodeExporter commented 9 years ago
I just realized I included the upper-case versions of true, false and null. 
That wasn't intentional for this patch; rather a change should be made 
elsewhere to do a case-insensitive compare for keywords.

Original comment by morrison...@gmail.com on 16 Nov 2013 at 1:09