Hi,
I am using php5.syn - the most recent in the downloads. There's a function called: imagecreatefromstring. I see it in the keywords in the syn file. But it does not highlight - should be a dark blue but it's the default black. Note: If I shorten it to: imagecreate then it highlights - this is another word in the syn file too.
Seems like it should highlight. How can this be fixed?
Thanks,
Lee G.
keyword in syn file is not highlighting
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
One explanation would have been that
imagecreate and imagecreatefromstring are in different keywordgroups (i.e. one is a Keyword1, 2nd Keyword2) and Keyword2 has assigned the same color as standard text
BUT in the php5.syn I found in
http://www.textpad.com/add-ons/files/syntax/php5.zip
both keywords are [Keywords 5] section
I noticed that php5.syn in pretty long (5576 lines) => maybe there is some limit of lines or keywords ?
Line 2283 [Keywords 5]
..
Line 3272 imagecreate
..
Line 3279 imagecreatefromstring
=> the 996th keyword in section 5 .. seems not to be very significant
?? What about the other keywords starting fro line 3272 ??
regards
Wolfgang
imagecreate and imagecreatefromstring are in different keywordgroups (i.e. one is a Keyword1, 2nd Keyword2) and Keyword2 has assigned the same color as standard text
BUT in the php5.syn I found in
http://www.textpad.com/add-ons/files/syntax/php5.zip
both keywords are [Keywords 5] section
I noticed that php5.syn in pretty long (5576 lines) => maybe there is some limit of lines or keywords ?
Line 2283 [Keywords 5]
..
Line 3272 imagecreate
..
Line 3279 imagecreatefromstring
=> the 996th keyword in section 5 .. seems not to be very significant
?? What about the other keywords starting fro line 3272 ??
regards
Wolfgang