#!/usr/bin/env ruby -wKU
   require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes"
   ?
   TextMate.exit_show_tool_tip("Hello world")

That is exactly what I was looking for.  Thank you so much.

Brandon

On Sun, Oct 16, 2011 at 5:00 AM, <textmate-request@lists.macromates.com> wrote:
Send textmate mailing list submissions to
       textmate@lists.macromates.com

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.macromates.com/listinfo/textmate
or, via email, send a message with subject or body 'help' to
       textmate-request@lists.macromates.com

You can reach the person managing the list at
       textmate-owner@lists.macromates.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of textmate digest..."


Today's Topics:

  1.  Re: Click to Highlight Opening and closing tags (Allan Odgaard)
  2.  Help with Ruby command (Brandon M Fryslie)
  3.  Re: Textmate not previewing in Firefox 7 (Michael Sheets)
  4.  Re: Help with Ruby command (Allan Odgaard)
  5.  Re: boost library (Andre de Boer)


----------------------------------------------------------------------

Message: 1
Date: Sun, 16 Oct 2011 09:46:09 +0200
From: Allan Odgaard <mailinglist@textmate.org>
To: TextMate users <textmate@lists.macromates.com>
Subject: [TxMt] Re: Click to Highlight Opening and closing tags
Message-ID: <FA1FB4FC-A7EE-40E3-AEC6-8CC2C44F55D3@textmate.org>
Content-Type: text/plain; charset=windows-1252

On 30 Sep 2011, at 02:50, Basil Babaa wrote:

> The following ticket was opened [?] Is there any news of status

There are a lot of open tickets given that TextMate 1.x hasn?t seen new features in years.

There has recently been news that there will be an alpha of 2.0 before Christmas which should close some tickets, but I?m not going into specifics.



------------------------------

Message: 2
Date: Sun, 16 Oct 2011 01:39:55 -0700
From: Brandon M Fryslie <bmf@email.arizona.edu>
To: textmate@lists.macromates.com
Subject: [TxMt] Help with Ruby command
Message-ID:
       <CAPjYj-COm=Rw=N=spwU8Zh56oiLW5kNUV++WUN4xdx3qOAxTMw@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi, I would like my Ruby command to replace the selected text, or show a
tooltip in some situations.  I see there is a command for doing this with
bash: exit_show_tool_tip.  However this:

puts `exit_show_tool_tip "Error message"`

isn't working for me.  Is there some way to do this from inside a Ruby
command?

Thanks
Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20111016/132fb4d0/attachment-0001.html>

------------------------------

Message: 3
Date: Sun, 16 Oct 2011 03:52:00 -0500
From: Michael Sheets <mummer@whitefalls.org>
To: TextMate users <textmate@lists.macromates.com>
Subject: [TxMt] Re: Textmate not previewing in Firefox 7
Message-ID: <00742DD8-701D-4B59-899B-6821F93FE083@whitefalls.org>
Content-Type: text/plain; charset=iso-8859-1

On Oct 4, 2011, at 8:01 PM, Mark Magnus wrote:

> I'm new to both Textmate, web dev and the list. I was able to preview via the HTML Bundle to Firefox 6, however I can't preview in FF7.

Looks like the name of the binary was changed in 7.0, I've committed a correction for this:

https://github.com/textmate/html.tmbundle/commit/d0c19deccfa9e1fb325a6fc8156cbdaef0a1efaf

------------------------------

Message: 4
Date: Sun, 16 Oct 2011 11:23:33 +0200
From: Allan Odgaard <mailinglist@textmate.org>
To: TextMate users <textmate@lists.macromates.com>
Subject: [TxMt] Re: Help with Ruby command
Message-ID: <A8E7A0ED-653E-4F93-881B-54B9D26F1B25@textmate.org>
Content-Type: text/plain; charset=utf-8

On 16 Oct 2011, at 10:39, Brandon M Fryslie wrote:

> [?] exit_show_tool_tip [?] Is there some way to do this from inside a Ruby command?

   #!/usr/bin/env ruby -wKU
   require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes"
   ?
   TextMate.exit_show_tool_tip("Hello world")



------------------------------

Message: 5
Date: Sun, 16 Oct 2011 13:09:59 +0200
From: Andre de Boer <aajd@xs4all.nl>
To: TextMate users <textmate@lists.macromates.com>
Subject: [TxMt] Re: boost library
Message-ID: <F920841B-4316-40D1-BAA8-204358C5E085@xs4all.nl>
Content-Type: text/plain; charset=utf-8

Thanks Allan, that did the trick.

But the interactive-input trick is not working for me: version 10.7.1, but this is not a problem.
The example I gave is just one from the boost-website.

I did alter the PATH in TextMate and indeed I came into trouble but deleting the complete PATH in TextMate and running the program (cmd-r) gave me the opportunity to recover the PATH.

 Regards,
Andre

On 16 okt. 2011, at 09:11, Allan Odgaard wrote:

> On 16 Oct 2011, at 00:08, Andre de Boer wrote:
>
>> I added /opt/local/include in TextMate's path:
>> /opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/opt/local/include
>
> Do *not* alter/set PATH (unless you know what you?er doing). This is unrelated to running C++ code but affects a lot of other stuff.
>
>> Boost is in /opt/local/include:
>
> I assume you?re using the built-in ?Run? command for C/C++ on ?R.
>
> In this case you want to set the TM_CXX_FLAGS variable to something like: -I/opt/local/include
>
> Additionally, since your program reads from stdin you should read http://blog.macromates.com/2009/interactive-input/
>
>
> _______________________________________________
> textmate mailing list
> textmate@lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>



------------------------------

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

End of textmate Digest, Vol 41, Issue 16
****************************************