keyword in syn file is not highlighting

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
leegold
Posts: 65
Joined: Sat May 03, 2003 1:16 am
Location: USA

keyword in syn file is not highlighting

Post by leegold »

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.
leegold
Posts: 65
Joined: Sat May 03, 2003 1:16 am
Location: USA

Post by leegold »

This does not exceed 63 chars - the limit for the keyword. Any ideas appreciated.
User avatar
woho
Posts: 100
Joined: Tue Sep 02, 2003 9:12 am
Location: Steyr/Austria
Contact:

Post by woho »

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
leegold
Posts: 65
Joined: Sat May 03, 2003 1:16 am
Location: USA

Post by leegold »

Could this be a bug?
Post Reply