Greetings everybody,
When you're recording a macro, an ugly logo, which seems to be partly
taken from iPhoto's, appears at the bottom on the right hand corner
of the window. I replaced it with a beautiful red dot and here's the
result :

Of course, it's also pulsating, like the previous one.
If you like it, here's the file that you have to put in TextMate.app/
Contents/Ressources. Hit "Replace" at the message the Finder will
prompt.

Urbanose
I have a follow-up to Aparajita's recent thread about adding
FileMerge support to TextMate. I really like the idea, but as Chris
pointed out, it shouldn't be necessary to clone the Subversion bundle
or add special environment variables to TextMate. That's because
Subversion isn't hard-coded to use diff; it can run any utility you
want, as long as its arguments are diff-compatible. All you need to
do is add a diff-cmd setting to ~/.subversion/config.
The problem, though, is that TextMate is hard-coded for diff. If you
look at the svn_diff.rb file in the Subversion bundle, it forces svn
to run diff instead of the user's diff-cmd. I think the best
solution, then, is to change this file so that it's not hard-coded.
Not only would this add support for FileMerge [1], but it would add
support for any other diff utility, as well.
With that goal in mind, I've modified svn_diff.rb and posted my
changes here:
http://vocaro.com/trevor/files/svn_diff.rb
To try it out, simply replace your existing svn_diff.rb with this
one. You'll then be able to specify a custom diff utility by setting
the diff-cmd variable in ~/.subversion/config [2]. The next time you
run a Subversion diff command, TextMate will automatically run your
preferred diff utility. If you comment out the diff-cmd line (or
delete the config file entirely), TextMate will go back to using the
standard diff utility as before.
The only functional change here is that if you specify a custom diff-
cmd and a file has no changes, you'll see no output when doing a diff
on it, not even a tooltip [3]. The problem here is that with the
regular diff, no output means no changes, but with custom (graphical)
diff utilities, usually nothing is printed to stdout, even when there
are changes. So, the command can't simply look at stdout and know
whether changes were detected or not.
With that caveat, I hope some of you can try this out and let me know
what you think. I'm hoping that with the proper vetting it can be
checked into the repo. After all, it's a pretty low-impact change. No
new bundles, no new commands, just different behavior when specifying
a custom diff-cmd. (If none is specified, TextMate works exactly as
it did before.)
Trevor
[1] Unfortunately, opendiff (FileMerge's command-line launcher) is
not diff compatible. You'll need a wrapper script like this one:
http://vocaro.com/trevor/files/filemerge (It's buggy, though.
Although it works great for diffs against BASE, whenever the network
is involved, such as diffs with HEAD or PREV, it sometimes works,
sometimes doesn't. Can anyone help?)
[2] I've posted an example config file here: http://vocaro.com/trevor/
files/config
[3] When no custom diff-cmd is specified, you'll get a tooltip that
says "No differences found."
Hello,
Is there anyway for texmate to have the gutter stick to the left side
of the window even when scrolling horizontally? I've seen it
mentioned several times in the wiki and the consensus seemed to be
that it would be added in 1.3, but in 1.5.1 I still can not find it.
Thanks
Mark
Hi,
Is there a keyboard shortcut to close the most recently opened HTML
tag? For example, I typed
<h1>something
then hit some key combo that would automatically insert the </h1>? (I
was just watching the TurboGears video and it looked like he was
auto-closing his tags. It looks like an older version of TextMate.)
I searched the online manual and did a search of this mailing list,
but couldn't find anything.
Thanks!
jt
It looks like the latest update to the Active 4D bundle has claimed
the .html extension. If I open an HTML file that wasn't created in
TextMate, the language gets set to Active4D (HTML). Sure, it's easy to
switch, but how do I change it back so it defaults to HTML?
Thanks!
jt
Hello all,
I've been slowly (and I do mean slowly) putting together an ExpressionEngine
bundle over the last several months. It's mainly snippets, but it also can look
up a selected EE tag in the user manual and display it in a small TextMate
window. It has code highlighting, but I'm not sure I've set it up correctly. I
also don't have all the EE tags implemented.
Which leads me to the reason I'm writing this. I've had several people tell me
they'd love to try out the bundle, but I just don't have the time to make this
bundle work perfectly. What I'd like to do is add it to the list of available
bundles and let anyone who wants to make it better. The more people contributing
to it the better it will be.
Again, I'm not sure I've set up code highlighting correctly, so that should be
one of the first things people check out.
One note, EE tags can be used inside of other code (XHTML, XML, CSS, etc). In
order for highlighting to work correctly, I had to add an extra language inside
of the HTML and XHTML bundles called HTML (EE) and XHTML (EE). Is that the
correct way to do it or what?
Anyway, enough rambling. I'm not sure how people feel about attachments in this
list, so I didn't attach the bundle to this message. If someone could tell me
how to add it to the bundles list on the TextMate site or do it for me, that'd
be great. I'm looking forward to seeing how others improve the bundle.
- Chris
Thank you Thank you Thank you for the effort Chris I've been waiting for something like this. :)
Jamie
-----------------------------------
Email: jamie(a)methnen.com
Web: http://www.methnen.com
Sent using Chattermail with a keyboard the size of my thumb so give me a break on the punctuation and spelling. Ok?
-----------------------------------
-----Original Message-----
From: Chris Ruzin <cruzin(a)gmail.com>
Date: Saturday, Apr 29, 2006 2:44 pm
Subject: [TxMt] ExpressionEngine bundle
Hello all,
I've been slowly (and I do mean slowly) putting together an ExpressionEngine bundle over the last several months. It's mainly snippets, but it also can look up a selected EE tag in the user manual and display it in a small TextMate window. It has code highlighting, but I'm not sure I've set it up correctly. I also don't have all the EE tags implemented.
Which leads me to the reason I'm writing this. I've had several people tell me they'd love to try out the bundle, but I just don't have the time to make this bundle work perfectly. What I'd like to do is add it to the list of available bundles and let anyone who wants to make it better. The more people contributing to it the better it will be.
Again, I'm not sure I've set up code highlighting correctly, so that should be one of the first things people check out.
One note, EE tags can be used inside of other code (XHTML, XML, CSS, etc). In order for highlighting to work correctly, I had to add an extra language inside of the HTML and XHTML bundles called HTML (EE) and XHTML (EE). Is that the correct way to do it or what?
Anyway, enough rambling. I'm not sure how people feel about attachments in this list, so I didn't attach the bundle to this message. If someone could tell me how to add it to the bundles list on the TextMate site or do it for me, that'd be great. I'm looking forward to seeing how others improve the bundle.
- Chris
______________________________________________________________________ For new threads USE THIS: textmate(a)lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate