Message: 7 Date: Fri, 23 Jun 2006 01:03:28 +0200 From: Allan Odgaard throw-away-1@macromates.com Subject: Re: [TxMt] A TMBundle for Textpattern beta relaease To: TextMate users textmate@lists.macromates.com Message-ID: F3B8D746-E6D6-428B-A2AE-690899C83B22@macromates.com Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed
On 22/6/2006, at 23:01, marios wrote:
Would it be possible to include an include statement, like the one I included in the patched version ?
Not sure exactly which one you are referring to.
If the HTML Bundle gets something like:
{ name = 'text.html.txp'; match = '(</txp:.*?>|txp:.*?|txp:.*?\s{,8}/|txp:([a-z]{3})_.*?/?)'; },
then I wouldn't have to include a whole clone of the HTML Bundle. Wouldn't that also make it more compatible with the rest of the Bundle Suite? It's the HTML Bundle that interferes, I couldn't find any way to tell the HTML Bundle not to match TXP tags.
However, you can add ?disabled = 1;? to the rule to disable it. You shouldn?t prefix it with X?es, as that?ll just give run-time errors (for ?language not found?.)
I should have taken a better look at the syntax rules, thanks for pointing that out.
Just one quick question, some default assorted Grammars, have disappeared from the Bundle Editor after the last Software update to r1112.
Which ones?
The HTML ones. I tried This: 1)I deleted the UUID from the cloned html Bundles(assorted ones),
since that didn't led to any change, I tried:
1) I discarded all bundles, included the TXP bundle that I had created and left in the Bundle Editor.(I did that manually, not from the Bundle Editor) 2)I SVN updated all bundles, reloaded Bundles from command line
Since that didn't lead to any change, I double clicked on the HTML Bundle in /Library/Applicationsupport/Bundles , but no luck.
Although they are there in their default locations, they just don't show up in the Bundle Editor.
Only the languages? If it is the languages you copied to your own bundle, it is because you did not give the copies a new UUID then -- i.e. use duplicate in the bundle editor (rather than copy on disk.)
See above, sorry, regards, marios
Still didn't check out Brad Choates new Blogging Bundle, and watch your cast, that's really terrific. I'd better watch that in depth ASAP,
regards, marios
On 23/6/2006, at 9:39, marios wrote:
If the HTML Bundle gets something like:
{ name = 'text.html.txp'; match = '(</txp:.*?>|<txp:.*?>|<txp:.*?\s{,8}/>|<txp:([a-z]{3})
_.*?/?>)'; },
then I wouldn't have to include a whole clone of the HTML Bundle [...]
If you want that at the root level of the HTML bundle, just put that rule before you include it -- then your rule will take precedence.
I won’t add txp stuff to the HTML bundle, a) people who do not use txp should not get matching of txp stuff, and b) there are at least another dozen web frameworks who’’d also like to get something added to the HTML bundle.
Which ones?
The HTML ones. I tried This:
Okay, so it is exactly those language grammars you moved to your own bundle, which is not showing up?
Try remove ALL local/svn checked out bundles including your own.
Ensure that the languages are now there (at least the HTML one is in the default set, so should be.)
Then when you add your own bundle back, be sure whatever default stuff you have copied, has its own set of UUID’s.
Allan Odgaard wrote:
On 23/6/2006, at 9:39, marios wrote:
If the HTML Bundle gets something like:
{ name = 'text.html.txp'; match =
'(</txp:.*?>|txp:.*?|txp:.*?\s{,8}/|txp:([a-z]{3})_.*?/?)'; },
then I wouldn't have to include a whole clone of the HTML Bundle [...]
If you want that at the root level of the HTML bundle, just put that rule before you include it -- then your rule will take precedence.
I won’t add txp stuff to the HTML bundle, a) people who do not use txp should not get matching of txp stuff, and b) there are at least another dozen web frameworks who’’d also like to get something added to the HTML bundle.
Which ones?
The HTML ones. I tried This:
Okay, so it is exactly those language grammars you moved to your own bundle, which is not showing up?
Try remove ALL local/svn checked out bundles including your own.
I've got all my lost Grammars, back, but it took me quite a while, I'll post here later, what I did to get them back.
regards, marios
Ensure that the languages are now there (at least the HTML one is in the default set, so should be.)
Then when you add your own bundle back, be sure whatever default stuff you have copied, has its own set of UUID’s.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Hi, sorry for being late, however, a new version of the Textpattern Bundle is now available here TMBundle for Textpattern 0.4 beta http://www.consking.com/article/the-bundle-craziness-continued-part-3
I apologize really for the trouble (if you have experienced it) of the strange display Issue in the Bundle Editor. However everything seems to work fine now, except some Error warnings (As Alan kindly pointed out) that do not any harm.
The Folding Start and Stop markers finally work now, and there is some new stuff included. Plug in Tags play nicer now and there is an adapted Theme, that has the changed scopes that I unfortunately had to change due to some changes in the Bundle Editor. So better get the Theme as well.
Now regarding the previous post, what I basically decided to do after the post 1100 cutting Edge upgrade, was to port every Single Item over a completely Freshly created Bundle just by cutting and pasting to save myself the plist nightmare. I thought , that this would be the safest way.
Enjoy, best regrds, marios
A new version for the Textpattern Bundle is now available here:
v0.5 beta together with new custom Theme.
DOWNLOAD V 0.5 BETA
http://www.consking.com/file_download/31
DOCUMENTATION
http://www.consking.com/article/tm-language-bundle-v5-beta
Fixed Language Grammar quite a bit. Included new commands, Templates, that you can customize, and some Macros. Refined the Scopes and changed some key equivalents This runs so much nicer. I am quite happy with it.
regards, marios
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate