[TxMt] Re: Problem with "Selected Text or Scope"

Matt Cable wozz at wookie.net
Sat Dec 5 17:40:50 UTC 2009


Glad I'm not crazy ;)

Thanks for the advice.  I'll give that a try.

On Dec 5, 2009, at 5:41 AM, Hans-Jörg Bibiko wrote:

> Hi Matt,
> 
> well, unfortunately this also doesn't work for me [ TM 1.5.9 (1589) MacOSX 10.6.2]. I think the fallback to "Scope" is broken.
> One quick%dirty workaround is to write your command and set the input of Selection and maybe output to Replace Selection; then record a macro:
> - Edit > Select > Current Scope (^⌥B)
> - call your_command
> 
> and save it.
> 
> An other option would be to add to your_command.plist this:
> <key>inputFormat</key>
> <string>xml</string>
> 
> Then you'll get a tagged xml output with all scopes which can be parsed.
> 
> Maybe Allan has an idea why it doesn't work anymore.
> 
> 
> --Hans
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list