Steven Grim
Wed, 07 May 2008 06:26:51 -0700
Hi everyone, For the PHP highlighting, I have the following in my FCWSYNTAX file. I don't remember where I found it. I remember copying it from someone about a year or more ago.
----8<----8<----8<----8<----8<----8<----8<----8<----8<----
[PHP : *.{php,php4,php5}]
wordchars : _
words : keyword : \
NULL __FILE__ __FUNCTION__ __CLASS__ __METHOD__ __LINE__ and or \
xor exception array as break case class const continue declare \
default die do echo else elseif empty enddeclare endfor endforeach \
endif endswitch endwhile eval exit extends for foreach function \
global if include include_once isset list new print require \
require_once return static switch unset use var while final \
php_user_filter interface implements extends public private \
proteched abstract clone try catch throw cfunction old_function \
this true false parent self
words : type : my our local
symbols : operators : +-*/!%^&()=|[]{}<>?.,
linecomment : comment : #
string : string : "
number : number
escape : \ :
----8<----8<----8<----8<----8<----8<----8<----8<----8<----
Hope this helps. Enjoy.
Steven
On Wed, May 7, 2008 at 7:41 AM, Brian Havard <[EMAIL PROTECTED]>
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?
>
>
>
> > Also I'd like FC to support unicode in editor/viewer. Actually the
> > program would benefit from working internally entirely in unicode, so
> > that all problems with "file not found" errors on CP mismatch would go
> > away.
> >
>
> Well, yes, that would be ideal. Maybe once I get 2.30 finalised I can
> start on a big job like that.
>
>
> _______________________________________________
> Fc mailing list
> Fc@silk.apana.org.au
> http://silk.apana.org.au/mailman/listinfo/fc
> Bug Tracker: http://bugs.silk.apana.org.au/
>
--
There are only 10 types of people. Those who understand binary and those
that don't.
_______________________________________________ Fc mailing list Fc@silk.apana.org.au http://silk.apana.org.au/mailman/listinfo/fc Bug Tracker: http://bugs.silk.apana.org.au/