[TxMt] Re: when sending code to R.app textmate 1 and 2 both

Allan Odgaard mailinglist at textmate.org
Fri Jan 17 09:08:36 UTC 2014


On 17 Jan 2014, at 11:13, Kevin Owens wrote:

> […] I think it may be related to the lines in that command like
>
> "open "txmt://open?line="

Yes, that would go to whatever version of TextMate is responsible for 
handling the txmt URL scheme.

The bundle should call “mate” instead.

For 2.0 you can use:

     "${TM_MATE}" -l «line»:«column»

For a version that should work with both, use:

     "${TM_MATE:-$TM_SUPPORT_PATH/bin/mate}" -l «line»

If you can confirm this works, we can update the bundle accordingly.


More information about the textmate mailing list