Quote Toggle

View: New views
2 Messages — Rating Filter:   Alert me  

Quote Toggle

by brad tittle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is probably old news to everyone, but the scope of the quote toggle did not include source. At least in my version of the bundle, it just had string.quoted.double, string.quoted.single. If the quotes were included in the selection, then the scope devolved to text.html.basic, source.php.embedded.block.html (my file type is set to html). 

I added 'source'  to the scope list and this fixed the "problem". I figure toggling quotes is useful in any source location. 



--
Brad Tittle
Tech Support


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Re: Quote Toggle

by Allan Odgaard-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 30 Jun 2009, at 01:02, brad tittle wrote:

> This is probably old news to everyone, but the scope of the quote  
> toggle did not include source. [...] I added 'source'  to the scope  
> list and this fixed the "problem". I figure toggling quotes is  
> useful in any source location.

The command is intended to be used without a selection, as it will  
work on the current scope, which is string.quoted.*.

By adding “source” to the scope selector you break it for when there  
is no selection (as it will then receive the entire source as stdin).


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate