Posted 18 years ago
by Kasper
Hi,
I'm having a few problems with the PHP highlighter of SyntaxEditor. I come from using another control (SynEdit) for several years, so my customers have become used to certain things working. I have a couple of issues, but I will start out with this simple one. In PHP, it's okay to have variables within a double quoted string, like this:
echo "Hi this is a $test of variables";
The $test should be highlighted as a variable, even though it's within the string. How can this be done with SyntaxEditor? I have tried editing PHP.xml, but without luck so far. I hope you can help me :)
I'm having a few problems with the PHP highlighter of SyntaxEditor. I come from using another control (SynEdit) for several years, so my customers have become used to certain things working. I have a couple of issues, but I will start out with this simple one. In PHP, it's okay to have variables within a double quoted string, like this:
echo "Hi this is a $test of variables";
The $test should be highlighted as a variable, even though it's within the string. How can this be done with SyntaxEditor? I have tried editing PHP.xml, but without luck so far. I hope you can help me :)