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.
On Mar 26, 2010, at 4:31 PM, Jacob wrote:
Is there some way to get textmate to recognise this quotation convention?
begin = "`"";
Maybe this is too obvious and you’ve already tried it, but what about this?
begin = "`"";
On Mar 31, 2010, at 12:17 PM, jacob wrote:
OK, what about this?
begin = '`"'; end = ''"';