Syntax Hilighting {} in HTML

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
cyface
Posts: 1
Joined: Wed Oct 08, 2003 5:18 pm

Syntax Hilighting {} in HTML

Post by cyface »

Hi -

I've configured a copy of the HTMl .syn file with the 2nd comment delimiters set to {}.

I use this to hilight PHP Smarty template tags in .tpl files (which are HTML other than things in {}).

The problem is, this doesn't hilight:

({$foovar})

but this does:

( {$foovar} )

and this doesn't hilight:

"{$foovar}"

but this does:

" {$foovar} "

Any tips on how to set up syntax hilighting so that this would work?

Thanks,

Tim White
Post Reply