[TxMt] Extending Built In Languages...
eric at aplosmedia.com
Tue Dec 18 21:13:00 UTC 2007
I found the relevant parts, thank you. The problem now, is that I
hardly understand regex enough to implement this on my own. If anyone
is willing to give me a hand, i'll gladly through you some cash or
grab you something off your amazon wishlist.
On Dec 18, 2007, at 11:42 AM, Thomas Aylott - subtleGradient wrote:
> On Dec 18, 2007, at 2:00 AM, Eric Coleman wrote:
>> Hi Everyone,
>> What I want to do, is extend the css & js definitions to have
>> alternate start / end tags...
>> but I also want to have it use
>> <?php $this->js()->start() ?> / <?php $this->js()->end() ?>
>> (Same for css, except using "css()")
>> How can I go about doing this?
> This functionality is actually in the HTML language syntax itself.
> Make a copy of the HTML language and move it to your personal bundle
> (make one if you don't already have one).
> Read up on the documentation for how to make your own rule that will
> include another language from within the another.
> For an example, look for a line that contains "include" and
> —Thomas Aylott – subtleGradient—
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
More information about the textmate