[SVN] r10616 (Text(unified formatting))

Luke Daley ld at ldaley.com
Mon Sep 22 07:14:42 UTC 2008


• Unified commands for common formatting.

These commands bind to the scope `text`. To utilise these commands, subscopes should provide shell variable preferences of `TM_*_MARKER` and optionally `TM_*_CLOSE_MARKER`. 

For example, in markdown…

{	shellVariables = (
		{	name = 'TM_BOLD_MARKER';
			value = '*';
		}
}

If the "close" marker is omitted, the non-close marker will be used for the opening and the close.

Changed:
A   branches/Text(unified formatting).tmbundle/Commands/Bold.tmCommand
A   branches/Text(unified formatting).tmbundle/Commands/Italics.tmCommand
A   branches/Text(unified formatting).tmbundle/Commands/Monospace.tmCommand
U   branches/Text(unified formatting).tmbundle/info.plist




More information about the textmate-dev mailing list