[TxMt] Simple questions about bundle creation

Alan Schmitt alan.schmitt at polytechnique.org
Sun Feb 12 18:58:57 UTC 2006


On 12 févr. 06, at 13:15, Sune Foldager wrote:

> On 12/02/2006, at 12:33, Alan Schmitt wrote:
>
>> "scopeName (line 1) — this should be a unique name [...] The  
>> advantage of deriving it from (in this case) text.html is that  
>> everything which works in the text.html scope will also work in  
>> the text.html.«something» scope (but with a lower precedence than  
>> something specifically targeting text.html.«something»)."
>> So I tried a scopeName of "text.xml.CWN" to see if I would get XML  
>> like syntax hilighting for free, but it did not work.
>
> What the explanation refers to, is that commands, macros and  
> snippets with scope set to text.xml will now work in your derived  
> language as well. This would be stuff designed to manipulate or  
> assist in writing xml.

Ah, thank you very much for this clarification.

Alan


-- 
Alan Schmitt <http://sardes.inrialpes.fr/~aschmitt/>

The hacker: someone who figured things out and made something cool  
happen.
.O.
..O
OOO




-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.macromates.com/textmate/attachments/20060212/864e079e/attachment.sig>


More information about the textmate mailing list