[TxMt] defining string quotation marks...

Jacob asquriot at yahoo.com
Fri Mar 26 20:31:17 UTC 2010


In Stata, strings can begin with the two characters: `", end with the
characters: "'. How can textmate recognise these as quotation marks? The
following code in the Stata bundle won't work, because textmate doesn't parse
the 'begin' and 'end' lines as I'd like it to. Instead it (understandably)
complains that it finds a " where there should be a ; on the second line below.
Is there some way to get textmate to recognise this quotation convention?

{	name = 'string.quoted.single.stata';
			begin = "`"";
			end = ""'";
			patterns = (
				{	name = 'constant.character.escaped.untitled';
					match = '\\.';
				},
			);
		},

Any help much appreciated.




More information about the textmate mailing list