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
Hi,
When I've got many files open in the project drawer, it's difficult to
track down the one I want. It would be great if there was an option to
sort the files alphabetically.
Cheers,
Andrew.
--
All views are my own - who else would want them?
http://www.andrewsavory.com/blog/
Hello,
Is there a way to adjust the height of the tab bar and force the tabs to
"wrap" (similar to how UltraEdit does it), rather than having to click
on the double arrows and select from the dropdown on the right when the
tabs spill over?
If not, is this something that could go into a future release?
Thanks,
-Justin
Sorry to gripe, but pressing undo after writing a line of code is like
trying to walk up a downward moving escalator. I know it's been said
before but here is another plea to the steadfast, cooperative
developers: at least consider an option to let undo step back word by
word instead of character by character (what would be the nicest is to
step back in logical "chunks" the same way bbedit does).
thanks, Kumar