First, I really like TextMate. It's clean and extensible (in a nice,
well-behaved way). It has numerous features quickly becoming part of
my muscle memory.
Though, there's one aspect I can't get my intuitive head around:
PageUp/Down. Often times I feel as if I've landed somewhere quite
different from what I expected - TextMate seems to like to re-center
things or treat the current line (that with the caret) as if it were
the center line (it's often not) and move things accordingly. Is
there a keybinding or some other default I can set to make PageUp/
Down actually move one page up/down based solely on the visible
lines, not the location of the caret? (Move PageUp/Down would then,
either re-center the caret on the new page or place it at the same
On Feb 21, 2007, at 10:13 PM, Nathan Paxton wrote:
> I don't think so.
Perhaps I wasn't very clear, either the Source bundle shows up in the
list of bundles in the Bundle editor, or it doesn't. If it doesn't
then you need to click on the Filter List... button at the bottom of
the bundle editor and enable it.
I take it you mean that you checked there and it does indeed appear,
in which case it is mysterious that you have problems. Do the
problems persist if you disable CocoAspell and use the built in spell
checker? I don't personally use CocoAspell, never found the need for
it, but perhaps it's useful. In any case, it would be helpful to know
if the problem appears only with CocoAspell, or with any spell checker.
Can you send us a screenshot showing the bad highlighting?
> I haven't done anything to those bundles except perhaps update them
> from the svn when I have updated the bundles in general.
I have TM 1.5.4 and Cocoaspell on OX 10.4.8. When I write a LaTeX
document, the spelling unit marks all my LaTeX syntax as incorrect
spelling. I've set the spelling to use the English aspell dictionary,
and everything works nicely in TeXShop, for example, but I can't
figure out what to do to get this to work in TM. Any suggestions?
Nathan A. Paxton
Dept. of Government, Harvard University
John Winthrop House, Harvard University
When you have to stay eight years away from California, you live in a
perpetual state of homesickness.
- Ronald Reagan
The most courageous act is still to think for yourself. Aloud.
I've got here some code with very long lines thus vertical scrolling
is necessary, while I scroll the line-numbers and folding-markers are
disappearing. Imho it would be better if those aren't disappearing
meaning that the vertical scroll-bar is only for the text-area while
the horizantal one is for line-numbers etc and text-area.
Do other ppl think the same?
We're working on a new system for tagging/searching/browsing bundles.
But, should we allow specific bundle items to be tagged too?
One purpose would be to mark something that is Mac or xNIX only.
Or something that requires some application or tool to be installed.
That way we could write a single system for dealing with requirements .
If a user tries to run a command that requires Python 2.4 or
whatever, there will be a single system for dealing with it.
Currently, every bundle item that has a prerequisite either breaks or
handles the requirements system itself.
Since bundles are becoming more and more cross-platform and being
used in more than just TextMate on a Mac, this seems like a good idea.
I know of at least two editors on Windows that are supposed to
support the TextMate Bundle formats.
Personally, I'm all for making the formats as cross-platform friendly
thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
Just a quick update: I finally got around to updating the reftex-
style citation completion command. The command should now work with
the recent updates to the latex bundle, and has been added to the
repository as Build Citation.
I write my plays in Textmate and then copy and paste them into Final Draft.
What's happening is that apostraphes, quotation marks, and em-dashes (—)
become garbled, weird combination of characters.
Anyone know why this might be happening? I notice it sometimes happens when
I take text out of TM and put it into TextEdit as well.
Check out my blog: http://goodmanorama.blogspot.com
Hi Dr. Drang,
Thanks, I hadn't considered using a Snippet for this.
(Ignoring some edge cases that you already mentioned), it seems to
work for normal selections, but unfortunately not for column selections.
I'm not sure how much room there is in an external program/Command to
do anything about this, but if you have some suggestions for making
it work with column selections I'd appreciate hearing them.
Strangely enough replacing each non-CR/LF character with a single
character like 'x' works for column selections, but replacing with
"$1" doesn't - that is, it seems to insert unwanted line breaks when
In a PHP file, embedded code followed by punctuation or digit fails
to close scope.
<h1><?php echo $title ?><h1>
Control-Shift-P just before ?>< produces:
Control-Shift-P between ? and >< or between ?> and < produces:
...and scope continues to be 'source.php.embedded.line.html' until it
hits a ?> not followed by punctuation/digit somewhere in the file.
If I put whitespace or A-Za-z after the ?> (which I can't do in some
cases, like in a filepath), the source scope closes, but its still
says 'keyword.operator.comparison.php'. Same thing happens in a multi-
line embed immediately followed by punctuation.
The HTML language bundle has a comment about "match only multi-line
PHP with leading whitespace", but even when I make the embedded php
multi-line with leading whitespace, it still fails to close without
trailing whitespace, et al.
Very annoying for me since I use different syntax highlighting for
source and text in the same document. Tried googling mailing list
archives, couldn't find another mention of this.
I'm new to TM and trying to implement a Command that fills the
current selection with a character. Right now I have a simple program
that replaces every character in the current selection with a space
character (but skips CR/LF), so far so good.
char c=32; /* Space character - this is what I'd like to be able to
replace at invokation time */
for ( ;x && *x;x++) putchar((*x==10 || *x==13) ? *x:c);
Now I'd like it to fill the selection not just with a space, but with
a user-entered character...
Ideally I'd like to:
1) select an area of text
2) press ^F (or whatever)
3) get a character from the keyboard
4) use that character to fill the selection
How do I accomplish #3 above?
Thanks for any pointers,