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