i am trying to convince the perl bundle to properly fold pod
documents. has anyone tried this with success?
i have tried modifying the Start/Stop markers from
foldingStartMarker = '(/\*|(\{|\[|\()\s*$)';
foldingStopMarker = '(\*/|^\s*(\}|\]|\)))';
to
foldingStartMarker = '(/\*|(\{|\[|\()\s*$|^=head\d)';
foldingStopMarker = '(\*/|^\s*(\}|\]|\))|^=cut)';
which works fine for a simple block:
=head1 HELLO
Hello, World.
=cut
but not for blocks that have more than one =head marker:
=head1 HELLO
Hello, World.
=head2 OOPS
Now head1 and head2 both show folding carets, but only the one
one by head2 does anything when you click it.
=cut
i tried to get clever and use perlish zero-width positive look-ahead
regex -- something like (^=head\d(.|\n)*(?==cut)) -- but textmate
doesn't appear to support such patterns.
any suggestions?
I found this full screen SIMBL bundle today that allows one to work
with any app in full screen mode. Works great in TextMate.
http://ianhenderson.org/megazoomer.html
Ciao
Martin
Hi
Is there a list of which static TM variables are currently available?
I was wondering if for example TM_AUTHOR already exists. I think it
could be of good use for many things. E.g. filling in the author of
S5 slides automatically or when converting a MultiMarkdown document
to LaTeX.
Cheers. Oliver
After the last update to textmate the keyboard shortcut
(command+period) to auto close html tags seems to have broken. This is
the error message that occurs:
<p>/tmp/temp_textmate.IBrgoT:7: undefined method `match' for
#<String:0xc59ac> (NameError)
Does anyone know how or if this can be fixed?
Thank you.
Michael
Hey Drew,
> ---------- Forwarded message ----------
> From: Drew McLellan <lists(a)allinthehead.com>
>
> I'd like to see this as an editing mode, automatically managing real
> tabs/spaces for me.
>
> I use tabs for aligning assignment blocks, and so often find myself
> going back up to add extra tabs when the left side of the assignments
> becomes longer than I expected. Example (using 4 spaces for a tab here):
>
> $a = 'A';
> $bb = 'B';
> $ccc = 'C';
>
> If I were to enter a forth line with a really long variable name, I'd
> *love* for the behaviour to be result in:
>
> $a = 'A';
> $bb = 'B';
> $ccc = 'C';
> $really_long_name = 'foo';
>
> .. but for that to be done with real tabs. I think the suggested
> convention of using a blank line to clear the alignment is a good one.
>
> Not sure if that's useful input or not, but there you have it :)
I've built a TM filter command that will realign assignment blocks.
It'll run on the current selection or on a block of statements
touching the current line. You can find it at
http://random-dreams.org/freeware/textmate/assignment-block-tidier.txt.
It's been on my shortlist since then to write a version that can
realign entire statements, lining up commas and closing parenthesis
and such. I'll probably get to that this month.
Regards,
Chris.
HI all
I may be missing something entirely obvious, but when I have a
document's language set to Mail and hit ^Q I seem to get the
behaviour from Text->Reformat Paragraph, rather than Mail->Reformat
Quoted Text. Can anyone give me a hint as to what I'm missing, or is
this a bug?
Thanks!
Grahame
I am wondering if there are settings that can be adjusted for setting up
printing support in TextMate. I would like to print line numbers and
change the font to a more printer friendly choice. Also (dreaming
here), being able to print landscape on the page in a two col style
would be killer. Any thoughts?
I just added a new feature to the "Show Actions" commands. The html
windows generated now contain a checkbox, using which you can toggle
whether the corresponding action is marked as completed or not. Each
time you click the checkbox it writes on the corresponding file.
It hasn't been checked much, so, you know, make backups and all that.
Any errors encountered will show up in Console.app.
You will need to switch away and back to textmate to see the changes
in the gtd files.
Haris
Hmm, can't seem to find the answer to this question, so here goes.
I want to override certain items in the Textmate.app/Contents/
SharedSupport/Support/ folder into my own local form, so that I don't
loose them each time Allan updates TM. How would I do that ?
Thinking mainly about the items in the css & scripts folders within
there, but even other items. I've tried my own local copy inside ~/
Library/Application Support/TextMate/Support/ and every permutation
of that, but no success.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Haven't seen this on the list:
<http://nickgravgaard.com/elastictabstops/>
The idea sounds quite interesting IMHO. Any chances to see something
like this in a future TextMate release? :)
Christian