[TxMt] Re: wrap a word into quotes
Allan Odgaard
throw-away-1 at macromates.com
Wed Aug 30 22:40:11 UTC 2006
On 30/8/2006, at 20:37, Rob McBroom wrote:
> I got it to work (mostly). I added the following to a new
> "Preferences" section of my personal bundle:
>
> { smartTypingPairs = ( ( '«', '»' ) ); }
>
> …and gave it a scope of "text". It doesn't work in PHP scopes
> unless I add "source" to the scope, and even then, it doesn't work
> in Mail scopes (text.mail.markdown and text.html.markdown). Maybe
> there is a bug?
The smartTypingPairs preferences with the most specific scope
selector will win, i.e. the contents of the array is not added up --
the reason for that is that then it would not be possible to exclude
pairs in more specific contexts.
More information about the textmate
mailing list