howdy, i've been sort of out of the loop lately with the textmate progressions and have been using b4 for quite a while. i updated yesterday to b12 and copied all my bundles i wanted over, but seem to be having trouble getting one i have (Velocity, for VTL) to work at all. would anyone out there like to help me figure out what's wrong if it send it?
thanx in advance... - jamal
On 9 Jun 2005, at 14:20, Jamal Johnson wrote:
i've been sort of out of the loop lately with the textmate progressions and have been using b4 for quite a while.
Welcome back ;)
i updated yesterday to b12 and copied all my bundles i wanted over, but seem to be having trouble getting one i have (Velocity, for VTL) to work at all. would anyone out there like to help me figure out what's wrong if it send it?
Many many things have changed since b4 so your old bundle(s) will need to be re-written/edited for it to work in b12. It's difficult for me to tell you exactly what without it, but most likely there are these changes to be made:
-- remove all formatting (colour, font style, etc) from the syntax file -- ensure that each regex group in the syntax file fits in to the correct naming scheme and is named correctly. (the naming scheme is still being confirmed atm, but you can look at other syntax files for further info.) -- ensure that any Command, Macro or Snippet has the correct scope assigned.
Give those a try and if you still have problems or questions then come back to us. Alternatively, get on the #textmate IRC and ask us. (IRC Info on Macromates.com homepage )
Kind regards,
Mats
---- "TextMate, coding with an incredible sense of joy and ease" - www.macromates.com -
On 09/06/2005, at 16.49, Mats Persson wrote:
-- remove all formatting (colour, font style, etc) from the syntax file -- ensure that each regex group in the syntax file fits in to the correct naming scheme and is named correctly. (the naming scheme is still being confirmed atm, but you can look at other syntax files for further info.) -- ensure that any Command, Macro or Snippet has the correct scope assigned.
Also, the regex syntax has changed, due to another library being used now.
Give those a try and if you still have problems or questions then come back to us. Alternatively, get on the #textmate IRC and ask us. (IRC Info on Macromates.com homepage )
It's on FreeNode: irc.freenode.net (port 6667), #textmate channel. It's a quite active channel.
--Sune.
On Jun 9, 2005, at 17:05, Sune Foldager wrote:
Also, the regex syntax has changed, due to another library being used now.
That's probably an overstatement. There's no longer support for (?(n) true:false) nor (?R) -- both rarely used.
And \<, \> should instead both be replaced with \b. But that should be all.
This latter change might be what needs to be done for your syntax.
[IRC] It's a quite active channel.
Seems to depend on the time of day/week! :)
Can someone point me to documentation on the new regex library being used in the bundles? I'm unfamiliar with these new escape sequences.
Thanks -Ed
On Jun 9, 2005, at 8:23 AM, Allan Odgaard wrote:
On Jun 9, 2005, at 17:05, Sune Foldager wrote:
Also, the regex syntax has changed, due to another library being used now.
That's probably an overstatement. There's no longer support for (? (n)true:false) nor (?R) -- both rarely used.
And \<, \> should instead both be replaced with \b. But that should be all.
This latter change might be what needs to be done for your syntax.
On Jun 9, 2005, at 6:31 PM, Edmundo Ortega wrote:
Can someone point me to documentation on the new regex library being used in the bundles? I'm unfamiliar with these new escape sequences.
http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt
Enjoy!
Haris