[TxMt] Re: feature request: show whitespace and indentation guides

Benjamin Jackson ben at incomumdesign.com
Mon Nov 7 16:37:25 UTC 2005


Add this to your language grammar of choice (from a previous thread, 
sorry but I couldn't find the link in the archives):

	patterns = (
		/* your other patterns */
		{	name = 'meta.leading-tabs.yaml';
			begin = '^(?=\t)';
			end = '(?=[^\t])';
			patterns = (
				{	match = '(\t)(\t)?';
					captures =
					{	1 = { name = 'meta.odd-tab'; };
						2 = { name = 'meta.even-tab'; };
					};
				}
			);
		}
	)

___________________
Ben Jackson
Diretor de Desenvolvimento

+55 (21) 9997-0593
ben at incomumdesign.com
http://www.incomumdesign.com




More information about the textmate mailing list