Allan recently isolated a bug I found to be in the regular expression
library TextMate uses and we're waiting for a response. While we wait
I was looking to implement the feature that crashed TextMate and I
hoped you all could help me out with some ruby or perl (or whatever)
The bug is explained here: http://ollieman.net/videos/find-bug.mov
The expected behavior is explained here: http://ollieman.net/videos/desired.mp4
It works the rest of the time, it's just when at the beginning of the
document that it crashes.
Thanks in advance for any help.
P.S. Are these videos a good way to ask questions? I feel like it's
difficult to articulate without actually showing you.
> 1. When triggered the macro looks backwards from
> the cursor position for lines beginning with four tabs?
Yes. Specifically, four tabs followed by a letter, number or punctuation mark.
> 2. The first such line is skipped and the second such
> line inserted where the cursor is.
Two lines down from where the cursor is, yes.
> What is supposed to happen if there is only one such line
> in the document. (I know it crashes, but what is it suppose
> to do?)
Just insert the cursor in the expected position (two lines down and
four tabs in) with no text.
I'm relatively new to TextMate, only been using it for a few weeks,
and I have decided it quite possibly the best way for me to develop
my games, programs and websites in. Unfortunately it when I
downloaded it did not do any BlitzMax, which is one of the main IDE's
I use. I began to look around and I couldn't find one anywhere.
Anyway I began to develop my own, and I have just today gotten it to
a working stage. There are still limitations in it, which I'm looking
in to on how to correct.
Anyway, here is a link to a post on my blog about it, and where you
can download it. I hope people like it, as it has taken quite a bit
doing and learning of TextMate's bundle system.
When a snippet with the same tab trigger/key command is activated you
get a menu item with which one you would like to select.
Unfortunately you can't use [C-n or C-p] so you must either use
the mouse or the arrow keys. How about each snippet is assigned a
number which would activate the snippet?
: Please fix this :)
A new TmCodeBrowser version is available here:
This update is recommended to all TmCodeBrowser users. It deals with
ctags occasionally hanging and prevents TextMate to hang also when
- Save all open files in TextMate (just in case)
- Download and open the dmg
- Double-click on the bundle
TextMate will take care of the installation.
When I watched the sqleditor screen-cast, I swear I watched him open
a per-project variable list (like the Preferences -> Advanced ->
Why don't I see this? and if it's there, how do I open it? I want to
set a bunch of variables per-project instead of globally.
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
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
User-Agent: Xnntp/beta04 (PPC Mac OS 10.3)
I've recently discovered TextMate and am – so far - quite impressed because it
integrates so well with the environment (vim and emacs don't [yet]) and still
has some useful features and extensibility.
However, I have got two simple questions, to which I don't really find a good
answer on the web (my fault, probably):
– I'm not sure who develops the R bundle; the highlighting is quite okay, the
comments aren't (commenting uses C style by default; this doesn't work). I
copied over the Python or Perl definitions (#) with the right scope marker.
Is such a trivial change this worth asking for a svn account, or where should
such suggestions be directed?
– One feature from Emacs' reftex mode (for LaTeX) I'd like to have in TextMate
would be the recursive scanning for section commands, i.e. seeing all the
sections etc. from the current master document and all (recursively) included
files. Is this possible and I am to stupid to find it (perhaps using the
wrong search terms)? This is an extremely practical thing for longer
documents, because one can go from (the file containing) part I (or a file
included by it) to a chapter in (the file containing) part III (or a file
included by it).
Have a nice Labour Day,
I seem to have discovered an infinite loop bug in ctags, which
TextMate depends on.
1. Create a new document
2. Paste in the text "This is a buggy <Java> program"
3. Change file type to Java
At this point, TextMate beachballs and I have to force quit. After
that, I find that a ctags process is still running and consuming 100%
of the CPU. Can anyone reproduce this?
P.S. TextMate 1.5.1 (948)
I've just watched the insert_html_tag movie, and I cannot reproduce the
"overtype the tag name"
action, where replacing the opening tag - p by div - is mirrored at the
When I do it, the closing tag is not modified.
"tab into the body of the tag" doesn't work either (it just inserts a
tab character, instead of having the cursor jump into the tag body area).
What am I doing wrong?