Congrats on 1.5...TextMate is 100% my editing environment (bb what?).
I just wanted to ask what the status is of implementing chunk-undo. I
was really hoping to see it sooner than later, it's still the one
major issue that frustrates me about TextMate.
Hi,
I've been trying unsuccessfully this afternoon to create something
that would perform 'save' and 'close' on a file with a single
keyboard shortcut (which would be apple-shift-d, same and 'send ' in
Mail) for the Subversion bundle. After all, that's what my fingers
seem bound to pressing when I've finished writing a svn commit
message (they must know better and feel it's like I've been writing
an email)... :-)
But recording a macros doesn't appear to work -- save doesn't appear
to be recorded as a macro action, and close appears to cause the
current macro recording to be cancelled.
I also had a look at using a command, which would allow me to save
the file first, but I can't figure out how to tell TextMate to close
the current file from there.
Can it be done?
Cheers,
Graeme
--
Mail: mathie(a)woss.name | Web: http://woss.name/
AIM: Math1e | PGP: 1024D/D72F2737
hi, some comments on the new version
Comment 1
the button in textmate's terminal usage dialog tries to make an alias
to the mate command in usr/bin
For me this operation failed (not permitted).
Question: I have an existing copy of the link in "~/local" ... Didn't
textmate used to expect ~/local rather than ~/bin ? What are we going
to settle on?
PS: could you make this command also add whatever folder it looks for
to the .bash_profile and also create ~/bin if it doesn't exist? (is
it xmas or what :-) )
Comment 2:
"templates" offers only strict version 4 html as a template for html?
Lots of us probably don't write code which is strict v4, so that
might be asking for trouble? maybe transitional as an option?
Comment 3
There is no comment 3
take care,
t
Hi,
Is there a shortcut to "Jump to the symbol under the cursor"?
I tried to write a macro with ^W, Cmd-E, Cmd-G but it searches the
string an not the symbol.
Also ^W, Cmd-E, Cmd-Shift-T... I would suggest a Cmd-Shift-T + Alt to
jump to the symbol selected and then people could write that macro...
Thanks,
--
Pedro Melo
JID: melo(a)simplicidade.org
Hi all!
I've been using doxygen to write documentation for a wavelet image
compression codec of mine, which is written in C. There I noticed two
things on folding, which are the following:
/** This is the basic "pixel" type.
* \Warning This should not be less than 15 bits + sign!
**/
typedef short int wv_pel;
Here, the end-comment marker has to have two *s, it doesn't fold with
one, but if I add a third * to the open comment bit, then it still
works?
Another thing which I couldn't figure out is the following:
if (foo > (bar >> 3))
{ /* this does something nice */
foo++;
}
else
{ /* not nice */
bar++;
}
Here, the folding does not activate with the comment on the same
line, which I actually use quite often.
I am really bad with regular expressions, so I couldn't figure out
what they're trying to (referring to the folding patterns). I am
aware though, that I can change them myself if I were so inclined,
but I just wanted to ask whether TM expects me to do the above things
in different way which may be equally nice.
Oh, and Allan, nice website overhaul. :)
Thanks,
Daniel.
Hey all,
Not sure how many people out there work with both MTASC and TextMate
(more than just me I hope), but I just put this up and thought it might
be of interest:
http://tinyurl.com/d8syh
There's a video of it in action here:
http://www.unfitforprint.com/articles/2005/12/19/developing-flash-on-a-
mac
Let me know if you find it useful.
- Ben
P.S. Apologies for the cross-post :P
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
One option is to use a menu button, though I'd make it slightly more
awkward to perform a Replace in Selection but OTOH it would allow to
(also) show the Replace All in Selection key equivalent right there
in the find dialog.
Just a little yay! for the work on the manual. I was looking for
indentation rules and found it in justa few clicks in the manual. At
least this time; it just worked :D
Andreas
I like the TextMate auto-update feature except for one thing: After it
updates, I have to re-install my custom icons [1].
Is there any way I could protect them from auto-update? Does it use rsync?
If yes, maybe add an --exclude flag to it?
[1] http://one.textdrive.com/pipermail/textmate/2004-November/001211.html
For some time now i've noticed that, *occasionally*, when I do:
expr.each doo|<TAB>
I end up with
expr.each doo
|
instead of
expr.each do |_|
|
end
as I would expect. I had assumed that I was somehow pressing <CR>
instead of <TAB> but I just caught myself and I am 99% certain I
pressed <TAB>.
So it seems to me like, sometimes, the trigger doesn't fire to do the
snippet. I think I've noticed it for the last few versions.
Does anyone else see this?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
I've created the beginnings of a bundle for use in screenwriting and
I'm looking for help to develop it further. As it stands now,
TextMate is used solely for it's behavior (snippets, macros, etc.)
but I hope that it's abilities can expand with your help.
Specifically, I'm looking for:
* Code clean-up. I've hacked together a working prototype, but I'm
sure there is much redundancy and inefficiency in what I've done.
* Exporting options. The ability to export to HTML and PDF (perhaps
via LaTex?), so proper formatting can take place.
If you are interested in helping, download the bundle at the url
listed below and contact me. The objective here is to create an end-
to-end solution for screenwriting that rivals FinalDraft and
MMScreenwriter, and I believe we can do it.
link: http://www.ollieman.net/files/bundles/screenplay.zip
email: oliver at ollieman dot net
There is no documentation, but to get started:
"ext" and "int" are tab-triggers for slug-lines
"option+tab" creates transitions
"shift+tab" creates characters
poke around the bundle for more behavioral abilities.
P.S. Should I post this in the bundle dev list?
I may be mistaken, but is there a bug with the move line up/down feature?
Whenever I do this the line that is selected after the move is not the line
that I moved, in other words if I move a line down then the line that gets
selected is the line after the one that moved, so if I want to move a line
up 2 lines I have to move it then move the caret up a line then move it
again, is this how it it supposed to work? Or am I missing the point
somehow?
Many Thanks
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi,
I'm new here. Just started using TextMate, and I have a problem where it
is freezing for up to minutes at a time.
I’ve been using it to work from home. Whereas in the office we use
Microsoft Developer Studio (on Windows), that happens to be a bastard of
a slug of a text editor over a Remote Desktop connection, so I have
connected to my Windows file share over SMB over my VPN, and set up a
TextMate ‘project’ with all my files. (I compile remotely, over the
remote desktop connection, or via Ssh.)
Now TextMate is a lovely editor, and it didn’t take much effort to have
it syntax-highlighting C# code. Only one problem with the otherwise
(almost) perfect setup: when I have the project loaded into TextMate
(600-odd files), when I change focus to another application, then focus
again on TextMate, TextMate hangs for at least 20 seconds. I presume
that this is something to do with it checking the files, because a local
project doesn't seem to have this problem.
Potentially it’s some kind of network timeout (though I checked my
various firewalls to see if some bits of the windows file sharing were
being blocked, and that doesn’t seem to be the case).
I know that SMB is a dog over a remote connection (I'm on 2Mbps ADSL,
and my office is 512kbps, I think), but this is almost unworkable,
especially when it decides to go slow and takes 90 seconds rather than
20 (it's somewhat unpredictable. I assume it’s dependant on network
conditions).
Does anybody have any ideas? Or should I report it as a bug? (Even if it
is a network problem, TextMate could presumably check the files in the
background, or at least provide progress feedback.) Has anyone else had
this problem?
Thanks,
–Andrewf
I often need to compare two documents side by side so I wrote a little
applescript that repositions the two front windows. I've attached the
script in plain text format.
Just posted the following to my blog (you can post feedback here or
on the blog post, if you have any):
I am planning to release 1.1 final next week. While I do get many
repeated requests, one of the issues that has been hard to overlook
lately is the lack of thorough coherent updated documentation.
<!--more-->
This has now changed after spending a few weeks writing more or less
full-time (so that's why there has been no nightly builds, although I
will likely put out one later today with a dozen minor items in the
change log).
Here is the first public draft of the [TextMate manual](http://
macromates.com/textmate/manual/).
Don't hesitate to post feedback as comments to this entry.
Currently the documentation is low on use-cases. I hope to
iteratively improve this over time, as I think that when people ask
for documentation they are in fact much more interested in how to
combine the features of TextMate to solve the task at hand, than the
core facts about how to move the caret and such.
This of course is quite a challenge, as the tasks and possibilities
are infinite. I myself regularly find new ways to use TextMate to
improve my workflow in ways I would not have thought of just a few
weeks earlier. Writing the documentation was no exception. One of the
cooler things I discovered was that I could add the command below as
a preferences item to the `entity.name.reference.markdown` scope to
have escape suggest completion candidates from my aggregated
reference list, when inside a Markdown reference (given as `[link
text][REFERENCE]`).
{ completionCommand = 'sed -n \
"s/^\[\($TM_CURRENT_WORD[^]]*\).*/\1/p" \
"$TM_DIRECTORY/markdown.references"';
disableDefaultCompletion = 1;
}
Should you somehow have missed my countless references to [Markdown]
(http://daringfireball.net/projects/markdown/) then for the records
let me just state that the documentation was written in Markdown and
I absolutely love it!
Hello everyone,
I posted an applescript to make it easy to open the current finder window in
TextMate. Check it out here:
http://www.bigbold.com/snippets/posts/show/1037
I attached a screenshot of my finder window so you can see how nicely it can
be integrated into the finder.
Thought this might be useful to fellow TextMate users.
Cheerio,
Simon
hi,
i made a fairly complex match in a language (mx - a structural
equation modeling package)
The language formatter mis-sorts the capture list (sorts on the basis
of first digit, not on the numeric value of the match number).
Doesn't affect function, but it is a bit messy to read.
Here it is after autosorting:
{ name = 'meta.Start.values.matrices.mx';
match = '(?i)^\s*(Start|Value)\s+(\d*\.?\d*)\s+([A-Z])\s+(\d*)?\s*
((\d+)|([^, ]+))\s+((\d+)|([^, ]+))(\s(to|-)\s+([A-Z])\s+(\d*)?\s*((\d
+)|([^, ]+))\s+((\d+)|([^, \n]+)))?';
captures =
{ 1 = { name = 'keyword.control.start.mx'; };
10 = { name = 'constant.mx'; };
12 = { name = 'keyword.control.to.mx'; };
13 = { name = 'support.other.variable.matrix.mx'; };
14 = { name = 'constant.numeric.mx'; };
16 = { name = 'constant.numeric.mx'; };
17 = { name = 'constant.mx'; };
19 = { name = 'constant.numeric.mx'; };
2 = { name = 'constant.numeric.mx'; };
20 = { name = 'constant.mx'; };
3 = { name = 'support.other.variable.matrix.mx'; };
4 = { name = 'constant.numeric.mx'; };
6 = { name = 'constant.numeric.mx'; };
7 = { name = 'constant.mx'; };
9 = { name = 'constant.numeric.mx'; };
};
},
Is this possible? If not, could you put it on the roadmap, Allan? :)
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
hi, just made a new bundle and dragged an existing item into it.
All went well (like how the item shows where it will go), but the UI
did not update well: the list was displaced left during the drag, and
then it didn't redraw (all the disclosure triangles hidden).
Goes away after a forced redraw by altering the pane width.
Is there a way to change the language for the spell corrector ? Wether I
write a mail in french or in english I can get a whole red underlined text.
-- Erwan
When I am using the Ruby on Rails programming language, my cursor
positioning always seems to be off by one or two characters. Its very
strange, very frustrating!
When I am editing a plain text piece, its fine, but when I am doing
ROR it appears to be off ever so slightly, enough so that it doesn't
quite register properly.
has anyone else noticed that?
--Alan
I'm trying to match a curly bracket in a foldingStopMarker but I
can't for my life get it to work. The startmarker works but not the
stopmarker. Eg.
works {
hello
}
doesntwork {
hello
}
My language is defined as:
foldingStartMarker = '\{\s*$';
foldingStopMarker = '^\s*\}';
/Tomas
Hi,
just a little questions about the invisible helpers to see tabs and
line endings.
Why does TextMate uses other marks for line endings as for example
SubEthaEdit, you get use to the marks of TextMate but would really
like know why at all?
Second more interesting for me, where are the signs for spaces? There
are absolutely no signs for spaces. Which makes it quite annoying, you
have to guess how many spaces or just to try with the cursor.
I hope someone can help me. To find answers for my little questions.
Thomas
> > This would be an awesome feature. Has it been requested yet? Thanks,
>
> What does it actually mean?
Like, for example, I want to pipe my current file through some command
that would add some code at a specific point (say extract some lines to
a new function), and outputs a snippet. It would be as if I ran the
command with all the text selected and set the output to "replace with
snippet", except this way I can still get the current word or selected
text to pass as input to my command.
Is that clearer?
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com