[TxMt] Re: Un-smart typing of '

Jacob Rus jrus at hcs.harvard.edu
Sun Aug 6 16:56:46 UTC 2006


cormullion at mac.com wrote:
> On 2006-08-06, at 16:13, Jacob Rus wrote:
>> cormullion at mac.com wrote:
>>> Another question I can't solve on my own. When I type ' - a single 
>>> quote - I don't want to see a closing one inserted automatically 
>>> (this is Lisp, after all). The newLISP language bundle has this:
>>> smartTypingPairs = (
>>>         ( '(', ')' ),
>>>         ( '[', ']' ),
>>>         ( '{', '}' ),
>>>         ( '"', '"' ),
>>>     );
>>> so obviously it's some sort of default behaviour. Can I switch it off 
>>> in this bundle yet leave it available in others?
>>
>> What's the scope selector on the preference you added to the bundle?
> 
> Hi Jacob. The scope on the language itself is empty, like the other 
> languages there.

You need to make sure you scope the smart typing pairs preference to the 
language you want it to apply to.  I'm just trying to make sure that 
isn't your problem.




More information about the textmate mailing list