Hi,
is there a reason why TM beeps if I call open "txmt://open?" ?
I do leave out line and column in order to avoid that TM looses its selection.
I'm just writing a character sheet to insert uncommon used charaters by using an HTML window with TextMate.system JavaScript-bridge. Every time if I insert a character TM beeps. Well, it is not a big issue but ...
Thanks,
--Hans
On 18 Jun 2008, at 00:44, Hans-Jörg Bibiko wrote:
On 18.06.2008, at 00:08, Michael Sheets wrote:
On Jun 17, 2008, at 6:08 AM, Hans-Joerg Bibiko wrote:
is there a reason why TM beeps if I call open "txmt://open?" ?
Check console.
On Mac OSX 10.4.11 ppc and TM 1.5.7 (1464) nothing relevant found at the console (?)
Can you reproduce this from Terminal and then give the exact URL you attempt to open?
On 18.06.2008, at 05:22, Allan Odgaard wrote:
On 18 Jun 2008, at 00:44, Hans-Jörg Bibiko wrote:
On 18.06.2008, at 00:08, Michael Sheets wrote:
On Jun 17, 2008, at 6:08 AM, Hans-Joerg Bibiko wrote:
is there a reason why TM beeps if I call open "txmt://open?" ?
Check console.
On Mac OSX 10.4.11 ppc and TM 1.5.7 (1464) nothing relevant found at the console (?)
Can you reproduce this from Terminal and then give the exact URL you attempt to open?
open "txmt://open?" invoked from the Terminal, TM's HTML output window, click at the hyperlink in this mail: always the same => beep.
I do NOT use an URL, line, or column parameter. I only want to activate the front most TM window w/o changing the selection, caret position etc.
BTW e.g. open "txmt://open?line=3" => no beep open "txmt://open?line=300000" => no beep (even if the doc has only 20 lines) open "txmt://open?line=0" => beep
It's only a guess: if the line parameter == 0 : then beep ; an empty parameter will evaluated to 0 (?)
--Hans