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

Hans-Jörg Bibiko bibiko at eva.mpg.de
Mon Dec 7 08:11:22 UTC 2009

On Dec 7, 2009, at 7:12 AM, Michael Sheets wrote:

> On Dec 5, 2009, at 6:41 AM, Hans-Jörg Bibiko wrote:
>> 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:
> This is working fine for me in 1589, can you send me your broken command Hans?

Hi Michael,

I fiddled around with this topic, and it's in some sense mystically.

I have two Macs a MacBook and a Mac Pro running the same TM, OS version T 1.5.9 (1589) and Mac OSX 10.6.2; and I have a bundle command:

Input: Selection or Scope
Output: Show Tool Tip

bound to: ^1

On my MacBook if I'm inside of a multi-line comment the output is correct.
The same file on my Mac Pro, same caret location in a multi-line comment I do see the entire document.

If I place the caret to a function word e.g.:
-on MacBook the output is empty
-on Mac Pro I do see the entire document again

If invoke ^⌥B for Select current Scope on both machines it works always perfectly.

The only difference of both Macs is that I installed a fresh Snow Leopard OS on an empty hard disk, whereby on my MacBook I upgraded Leopard to Snow Leopard.

I have no idea what's going on here.


More information about the textmate mailing list