Hi,
I buld a simple PHP editor, and I tried to use wxSTC to colourize PHP syntax. I used the STC_LEX_PHP lexer, I set up style and keywords, but it doesn0t works (the style does not colurize). I followed the same operations using another style (STC_LEX_CPP) and I works well.
Anyone can help me??
bye
Gabriele Farina *DarkBard* wrote:
Hi,
I buld a simple PHP editor, and I tried to use wxSTC to colourize PHP syntax. I used the STC_LEX_PHP lexer, I set up style and keywords, but it doesn0t works (the style does not colurize). I followed the same operations using another style (STC_LEX_CPP) and I works well.
Anyone can help me??
If I remember correctly. The HTML lexer (STC_LEX_HTML) includes PHP
the PHP lexer is only for special case if you read the PHP lexer HOWTO
or something to that degree.
See also http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:27435:200404:kbpjmigcphfnbmlahinf
Regards
Adi