[TxMt] PHP vs XHTML?
Sean Schertell
sean at datafly.net
Wed Nov 1 01:25:03 UTC 2006
Thanks for the tip Soryu but I'm a little confused. I should use the
HTML bundle instead of the XHTML bundle when I'm editing XHTML? One
thing I noticed straight away is that when I use the Ctl-Return
shortcut for a line break, I get the old "<br>" instead of XHTML
valid "<br />".
Surely, it's not an unusual requirement to edit documents with XHTML
and PHP in them -- is there really no way to get TM to play nice with
this combination?
Sean
On Oct 31, 2006, at 10:27 PM, Soryu wrote:
>
> On 31.10.2006, at 12:32, Sean Schertell wrote:
>
>> Quick dumb question:
>>
>> Why is it that when I select "XHTML" bundle, I get no PHP
>> highlighting at all, and when I select "PHP" bundle, I get no HTML
>> highlighting at all?
>>
>
> You should use the “HTML” language grammar. PHP is an extension to
> this and gets included automatically. I’ve never used the “XHTML”
> Language (which is in the HTML bundle). If you think anything does
> not work well with the Language set to “HTML” just write back here.
> Also you might be wanting to set the “TM_XHTML” Shell variable to
> “/” in TextMate General Preferences when you are only working with
> XHTML.
>
> Kind regards,
> Soryu.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
More information about the textmate
mailing list