I switched from FF to Safari for a couple days because I really, really liked the edit in TextMate option. However it only lasted for a few days because I like FF a lot more...so I decided to give the "It's all Text" plugin another shot. Hated it. First of all I can't open the editor using my keyboard, and secondly when I save and close my document it doesn't switch back to FF automatically. The edit in TM for Safari does both...are there any alternatives to this IAT plugin for FF? I want easy FF editing in TM.
Pat
Hi Pat,
The Mozex extension has been working perfectly for me. I even have it set to trigger on cmd-ctrl-e, in some ways it's even better because if I'm editing a textarea in firefox and fore some reason have to pop back to firefox and change the focus to a different tab (than the one I'm editing in textmate), going back to textmate and incrementally saving my work still works.
Hope that helps, -steve
On Mar 13, 2007, at 9:55 PM, Pat Maddox wrote:
I switched from FF to Safari for a couple days because I really, really liked the edit in TextMate option. However it only lasted for a few days because I like FF a lot more...so I decided to give the "It's all Text" plugin another shot. Hated it. First of all I can't open the editor using my keyboard, and secondly when I save and close my document it doesn't switch back to FF automatically. The edit in TM for Safari does both...are there any alternatives to this IAT plugin for FF? I want easy FF editing in TM.
Pat
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Mar 14, 2007, at 11:38 AM, Steve Lianoglou wrote:
The Mozex extension has been working perfectly for me. I even have it set to trigger on cmd-ctrl-e, in some ways it's even better because if I'm editing a textarea in firefox and fore some reason have to pop back to firefox and change the focus to a different tab (than the one I'm editing in textmate), going back to textmate and incrementally saving my work still works.
Would you mind sharing how to set up in that way? I installed Mozex1.9.5, and set "/Applications/TextMate.app/Contents/MacOS/ TextMate" as my text editor in "Textarea" tab of the Mozex preferences. I also set ⌘⌥E for hotkey.
I activate, but nothing happens. It seems the temporary file was created, but no TextMate show up.
Clearly, I'm missing something.
Any help would be appreciated,
Takaaki -- Takaaki Kato http://samuraicoder.net
Takaaki Kato asked:
Would you mind sharing how to set up in that way? I installed Mozex1.9.5, and set "/Applications/TextMate.app/Contents/MacOS/ TextMate" as my text editor in "Textarea" tab of the Mozex preferences. I also set ⌘⌥E for hotkey.
Try setting this to be the path to your "mate" command, with the -w and %t commands: for me this means that the "Text Editor" command reads
/Users/pmccann/bin/mate -w %t
and I've set the temp file (in the "General" tab) to live in my chunk of /tmp
/tmp/503
Watch out: sometimes you get two choices when using the key command for a text field. Don't pick the hidden one (thunk!) or you'll be scratching your head like I was for a few minutes.
Cheers, Paul
On Mar 14, 2007, at 1:29 PM, Paul McCann wrote:
Try setting this to be the path to your "mate" command, with the -w and %t commands: for me this means that the "Text Editor" command reads
/Users/pmccann/bin/mate -w %t
and I've set the temp file (in the "General" tab) to live in my chunk of /tmp
/tmp/503
Thanks. It worked.
Takaaki
On 3/13/07, Steve Lianoglou lists@arachnedesign.net wrote:
Hi Pat,
The Mozex extension has been working perfectly for me. I even have it set to trigger on cmd-ctrl-e, in some ways it's even better because if I'm editing a textarea in firefox and fore some reason have to pop back to firefox and change the focus to a different tab (than the one I'm editing in textmate), going back to textmate and incrementally saving my work still works.
Hope that helps, -steve
Hey Steve,
Thanks a lot for this, looks really sweet. Definitely better than "it's all text." My only gripe is that it doesn't open an editor for the current text area, but rather gives me a drop down box with a list of names of text areas. If I've got my cursor in a particular text area then I want to edit that one obviously...any ideas how I make that happen?
Pat
Hey,
Thanks a lot for this, looks really sweet. Definitely better than "it's all text." My only gripe is that it doesn't open an editor for the current text area, but rather gives me a drop down box with a list of names of text areas.
Hah! I've never noticed that before .. at least you can select the named message box w/ the numbers so you don't have to move your fingers from the keyboard :-)
If I've got my cursor in a particular text area then I want to edit that one obviously...any ideas how I make that happen?
I agree ... I don't really know how to make this happen -- you could probably send an email to the developer to see if there's a quick hack or something to get it to work that way.
-steve
Steve Lianoglou wrote:
Hey,
Thanks a lot for this, looks really sweet. Definitely better than "it's all text." My only gripe is that it doesn't open an editor for the current text area, but rather gives me a drop down box with a list of names of text areas.
Hah! I've never noticed that before .. at least you can select the named message box w/ the numbers so you don't have to move your fingers from the keyboard :-)
If I've got my cursor in a particular text area then I want to edit that one obviously...any ideas how I make that happen?
I agree ... I don't really know how to make this happen -- you could probably send an email to the developer to see if there's a quick hack or something to get it to work that way.
Possibly there is no straightforward way of getting the textarea that currently has focus when writing extensions - there isn't in JS, to my knowledge.
I faked it in a userscript by setting a CSS property on :focus and then looking for that property with JS - see get_focused_form() over at http://userscripts.org/scripts/source/1595. Might want to suggest that to the developer, if finding the focused form is why there is no such functionality.
On Mar 13, 2007, at 9:38 PM, Steve Lianoglou wrote:
The Mozex extension has been working perfectly for me. I even have it set to trigger on cmd-ctrl-e, in some ways it's even better because if I'm editing a textarea in firefox and fore some reason have to pop back to firefox and change the focus to a different tab (than the one I'm editing in textmate), going back to textmate and incrementally saving my work still works.
Yes, I love mozex. You can also assign a hotkey for popping the page source right into TM for browsing.
James Edward Gray II
On 3/14/07, Steve Lianoglou lists@arachnedesign.net wrote:
Hi Pat,
The Mozex extension has been working perfectly for me. I even have it set to trigger on cmd-ctrl-e, in some ways it's even better because if I'm editing a textarea in firefox and fore some reason have to pop back to firefox and change the focus to a different tab (than the one I'm editing in textmate), going back to textmate and incrementally saving my work still works.
This does seem to rock, except that when I close the Textmate window, a new version of Firefox trys to open, tells me that only one copy can be open at a time, and then goes away, and my changes are lost.
Does anyone have a clue as to what I'm doing wrong?
Ed
On Mar 16, 2007, at 5:46 AM, Ed Singleton wrote:
On 3/14/07, Steve Lianoglou lists@arachnedesign.net wrote:
Hi Pat,
---8<--- http://mozex.mozdev.org/
This does seem to rock, except that when I close the Textmate window, a new version of Firefox trys to open, tells me that only one copy can be open at a time, and then goes away, and my changes are lost.
Does anyone have a clue as to what I'm doing wrong?
If you are running a customized version of firefox (such as one of the g4 or g5 optimized versions) and have the original firefox installed also, the system can get confused about what app it should talk to.
Roger,