The latest beta of MarsEdit includes Edit with Textmate support:
> This is just a small update, an internal-only build, mainly for people
> who want to use TextMate.
>
> Other changes -- customizable ping list and Markdown preview support
> -- are still en route, they're just not ready yet.
>
> Changes:
>
> *** Edit with TextMate
>
> Edit with TextMate now appears in the File. ctrl-cmd-J. The feature
> requires TextMate 1.0.2b3 or better.
>
> There appears to be a TextMate bug regarding character encoding. I use
> the exact same code for TextMate as for BBEdit and SubEthaEdit -- but
> TextMate turns curly quotes (and so on) into weird characters. Either
> there's something I need to set in TextMate (that I couldn't find) or
> there's a TextMate bug. If someone who's in touch with the TextMate
> folks want to get the skinny on this, that would be appreciated.
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
I'm wondering about using CTRL-K to cut a line and CTRL-y to paste a
line.
Typing ctrl-k seems to cut the line out, but ctrl-y has no effect. I'm
used to typing
these commands in a terminal and in emacs.
Has anyone else experienced this?
This is an issue I just discovered, and I was wondering if it could get fixed:
TextMate doesn't make coffee yet (black is fine, no sugar or milk needed).
Also, I told it to wake me on time for the news, and it was 8 minutes late.
Allan?
Regards,
Martin
>Date: Fri, 5 Nov 2004 18:20:01 -0700
>From: Curtis Schofield <schofiel(a)telusplanet.net>
>
>I'm trying to get used to the automatic () {} behaviour.. sometimes i
>wrap
>if/parameterlists around existing code and i get an automatic } or )
>when i don't
>expect.
What I do it select the text I want to enclose and then press the '('
or '{' and it's done. It's kinda scary the first time, 'cause you'd
expect the selected text to be replaced by the character you typed.
But the second time will bring a smile to your face.
eg. type 'if' hold the shift key down, press the arrow key to move the
cursor to where you want it, press the '(' and so on...
Carl
>Date: Sat, 6 Nov 2004 18:37:49 +1100
>From: Justin French <justin.french(a)indent.com.au>
>
>Wait 'till you find yourself back in BBEdit or any other program and
>*expect* them (and completion, and snippets) to work and they don't.
>I'm starting to wish everything (Mail.app, where I do the bulk of my
>typing for example) behaved like TM.
Yes. When I have to use Vi or command line psql and no matter how long
I wait, the closing thing never appears. It seems so _broken_...
Carl
Hi All,
Just wanted every web developer to know about these scripts/commands
that I have just created and available here:
[ http://wiki.macromates.com/textmate/show/Howtos ]
1. Preview in Browser: Safari, Firefox and IE5
These commands will take the current file and then load it in a new
browser window. Works with both local files [ file://path/to/file.html
] and
web server based files [ http://www.somesite.com/file.html ] as long as
you create a new project Shell Variable called TM_PROJ_SITEURL with the
full URL.
Please note. Still some issues with Safari not being able to open a new
window on its own to sort out.
2. Reload Browser: Safari, Firefox, IE5 and All 3 browsers.
These commands will do a reload of the current page in each browser
separately or all at the same time.
Hope they are useful to you all.
Kind regards,
Mats
On Nov 5, 2004, at 19:12, Mike Chambers wrote:
> First of all, just bought my license, and want to say what a great
> editor this has been thus far.
> Now, onto my question:
>
> I am trying to duplicate the refresh safari command to work with
> FireFox. Here is what I have thus far:
>
> osascript -e 'tell application "FireFox" to activate'
> osascript -e 'tell application "FireFox" to do JavaScript
> "window.location.reload();" in first document'
>
> This works, except that FireFox does not refresh the active page.
>
> Anyone have any ideas on how to get this working?
> mike c
Hi Mike & welcome to the fold.
You've helped me before on the Flash mailing list (many years ago now),
so I thought I should help you as far as I can tonight (it's 9.30pm
here)
The problems you are having is to do with the AppleScript syntax and
limited AS support in Firefox.
The following Applescript works in Script Editor and just needs to be
converted into TM working code. Don't have time to do so tonight : (
set theActiveURL to "http://www.macromedia.com/"
tell application "Firefox"
activate
OpenURL theActiveURL
end tell
You would use $TM_FILE_PATH to get the path to the file and load it as
a local non-parsed file. IF you are previewing a file through a web
server, then I guess you need to add a Project Shell Variable (info btn
in project drawer when no file is selected) with the URL prefix and
then use a bit of fancy footwork to add the variables together into a
full URL.
I'll think about it over the weekend, but can't promise a solution, but
I'm sure you - and many others - will have worked it out before then. :
)
Hope that helped you a bit on the way.
Kind regards,
Mats
The tab metaphor for opened files works fairly well, especially if you
make the effort to open related files next to each other. The tabs
should shrink smaller imo, but that's a separate issue.
The question I have is -- if you are working on two files that are far
apart in the tab bar, is there any shortcut for switching between them?
My thought is that the program could maintain a history list of viewed
files, and then a key binding could be assigned to navigate back and
forward over that history list. Could this be added? (Or does this
capability exist somehow?)
Cheers,
Wayne