I am trying to modify the PHP template.
Right now one of the User Defined Keywords is a Pattern Match: $*, probably meant to identify variables.
However, once $ is encountered, the rest of the line is highlighted the same as the variable. The pattern is $*. Is it possible to have the pattern stop at the whitespace so it does not highlight the entire line?
I've searched the Help file, but it does not provide too much information in this area.
Thanks,
Pattern Matching
As you correctly predict, the pattern is meant to only highlight words that begin with the $ character.I am trying to modify the PHP template. Right now one of the User Defined Keywords is a Pattern Match: $*, probably meant to identify variables. However, once $ is encountered, the rest of the line is highlighted the same as the variable. The pattern is $*. Is it possible to have the pattern stop at the whitespace so it does not highlight the entire line?
I checked this with the un-official version 3.93c release and sure enough this is exactally how this feature worked. I then check the official version 3.93 release and found this feature is broken as you describe

I am not sure why this feature is broken in the current release yet working in the unofficial 3.93c, but it is definitely a bug in the current Zeus 3.93 release. I will arrange to have the 3.93 release upgraded to 3.93c in the next few weeks which should fix this problem.
If any registered Zeus users have come accross this problem, send your registration details to sales at zeusedit dot com and I will arrange a free upgrade to the working 3.93c version.
Otherwise expect a new release in the next two or three weeks that should fix this bug.
Jussi
Last edited by jussij on Fri Nov 02, 2012 11:40 pm, edited 1 time in total.
This bug is fixed in the Zeus Version 3.93d release which is now available.