The macro described here has a few oddities.
http://comox.textdrive.com/pipermail/textmate/2005-October/006444.html
<quote>
1) move to beginning of line (ctrl A)
2) regexp search for: (?=\S|$)
</quote>
Lets say '#' indicates where the cursor is.
When I press Home on the following line..
@implementation App#Controller
Then the cursor is placed between '@' and 'i'.
When I press Home on the following line..
x -(IBAction)te#st:(id)sender {
Then the cursor is placed just before '-'.
Pressing home on an empty line then the cursor is
placed on the following line.
Is there a better smart-home macro?
preferable a smart-home macro that can toggle
between line-begin and text-begin.
--
Simon Strandgaard
http://opcoders.com/
Regardless of whether I've changed any code or not, the XCode build
goes in a few seconds sometimes and other times takes a minute or
two... any idea what might be holding up the script? Thanks,
Ben
Hi,
I've been showing off TextMate's LaTeX power to lots of friend in
academia, but I've hit a hitch. While reference and citation
completion work fine in a single source file, it fails in a multi-file
project. I have a master file listed in the project options, and the
project compiles fine with all the necessary citations and references
complete, but I can't get auto completion using alt-escape to work, I
just get "Could not find file" pasted into my braces. This is the case
whether I include a search string or not.
Any ideas what the deal is? Unfortunately I can't be sure that it was
working before as this is my first multi-file project.
Thanks.
Suhaib.
While trying to do a svn commit from within TextMate, I get this error:
===
Couldn't find /usr/local/bin
We need Ruby to proceed.
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialog.app/Contents/MacOS
/usr/local/bin/
/usr/local/sbin
/bin
/sbin
/usr/bin
/usr/sbin
/usr/local/pgsql80/bin
/usr/local/pgsql81/bin
/usr/local/mysql/bin
/sw/bin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin
===
A command-line svn commit within the same checkout works perfectly -- so
I don't think that this is a svn problem.
Ruby is definitely there; the Rails app I'm developing works fine:
$ which ruby
-> /usr/local/bin//ruby
The error is particularly weird, as it clearly is looking at
"/usr/local/bin/" when trying to find "/usr/local/bin". What can this mean?
I'm using TM build 1372 (latest), MacOS 10.4.8.
I'm guessing that this is a configuration problem, but I can't figure
out what I've got set wrong.
Many thanks in advance for any pointers!
View Revision in the subversion bundle is not working for me. The
dialogue window appears briefly and then disappears. Checking the
console, there is the following error message:
error 63 (File name too long) opening sem /tm_dialog async/
markkalderon/1.
The thing is, my file names aren't particularly long. The command
chokes no matter how small the file name. Any ideas how to debug this?
Thanks, Mark
Hi happy TextMate users!
I just started toying around with hobo[1] and I like it quite a lot!
Especially DryML is really nice! Does anybody else use DryML? How
do you edit DryML-files? Is there a syntax-definition? There
doesn't seem to be a DryML bundle.
Kind regards, Niko.
[1] http://hobocentral.net
--
____________________________
niko dittmann <ni-di(a)web.de>
____________________________
Hello,
I setup a command to execute psql from TextMate. Psql is the command line
utility one can use to send SQL commands to the PostgreSQL database and get
the results of the queires sent. It was very easy to setup and get working
the problem is that on queries that return relatively large amounts of data
the OS as a whole lags and gives the spinning wheel of death during
the execution of the command(I had output set to HTML). The test case I
used was to execute the command on a query that returns about 140,000 rows
with about 4 columns of data so pretty skinny data overall relative to
typical database data. Is there any way to make TextMate not consume the
machine during the executing of this command. Maybe only show X amount of
row instead of all the data? I noticed TextMate was consuming 500+ megs of
memory and had around 1.8 gigs of swap. Not sure if those levels were
directly related to the query output or not. All I know is TextMate didn't
handle that use case very well.
Regards,
Bob
I would like to be able to define how large a window should be for specific
files when I open them. For example, when I do XML, I like to have a very
wide window, if I do text only, a small window is fine. Is there a way to
tell TextMate how wide a window should me when you open it?
Thanks.
Marc Chanliau
Hi everyone,
am new to this lovely Textmate but I'm well well impressed looking at the
screen-casts.
However, how do I set it up for Automation? Just that option isn't showing
anywhere. I want to be able to make it fill in my XHTML tags for me.
Thanks,
DanC
--
danCourse
www.dancourse.co.uk
07790 13 83 23
Flash2.0 & PHP Freelancer