Brian Havard
Sun, 11 May 2008 15:09:45 -0700
Krzysztof Trybowski wrote: > Hello Brian, > On Wednesday, May 7, 2008 Brian Havard wrote: > >> Krzysztof Trybowski wrote: >> >>> Hello all, Brian, >>> >>> I need PHP syntax highlighting in FCW. Can I download it somewhere? >>> >>> >> If you can point me at a list of php keywords I could probably add it >> pretty quickly. Or has someone already done one? >> > > OK, so I use the code from Steven Grim now. But there seems to be an > error (or a lack of feature, or I just don't know how to do it): > > in PHP you can have two formats of line comments: > > //this is a comment > > #this is a comment too. > > How do I set that? I tried: > > linecomment : comment : # > linecomment : comment : // > > but it seems the later overrides the former. > Yes, the syntax highlighter only supports one type of line comment marker (I guess I didn't think any language needed more than 1...). I'll take a look at adding support for multiple.
_______________________________________________ Fc mailing list Fc@silk.apana.org.au http://silk.apana.org.au/mailman/listinfo/fc Bug Tracker: http://bugs.silk.apana.org.au/