Hello,
I have discovered that it is possible for a syntax region to overlap a syntax
keyword, even though the region is not contained in the keyword. Take the
following code example and apply the syntax commands below:
TEST CODE:
(is_array($foo))
( is_array($foo) )
SYNTAX COMMANDS:
syntax keyword Function is_array
syntax region r1 matchgroup=Typedef start=/array(/ end=/)/ keepend extend
Now what is even more odd, if I add another region for the ( and ) arround the
test code, the overlap doesn't happen in the first example:
syntax region r2 matchgroup=Delimiter start=/(/ end=/)/ keepend extend
contains=ALL
What is going on here?
regards,
Peter
____________________________________________________
On Yahoo!7
Caller tones: Replace your ring tone with your favourite sound clip!
http://callertones.yahoo7.mnetcorporation.com/ctonesmailtag