It´s great to finally have folding in a native osx application.
Although the current implementation has a few usability issues:
First, the folding column needs to be rightmost in the gutter,
next to the text. Currently, when line numbering is active,
matching folding widget with line is harder than it could be.
Second, the present top and bottom widget icons are too
similar, making it hard to read a structure overview off the
document. It´s primary function is to show start or end of
the block, thus arrow direction must be the most visible
feature.
In addition i suggest a highlighting feature, allowing us to close
a fold(?) by clicking anywhere on a line between between
folding icons. A mouse over effect shows what parts will be affected.
This will allow easier matching of open and closing arrows, as well
as reducing mouse travel.
View the attached mock-up for a clearer, visual description.
(note in the image I am experimenting with a x-code style top-bar as well ;)
hp.
Greetings!
So, have anyone started to make some custom syntax definitions for the
various laguages out there? Lets share!
I wish I could say "I'll start" but I've just started on one so I'm
still wrapping my head around it. It still baffles me why colours
arent global (like, often i want the same color for strings regardless
of laguages for instance)
(apologies if this has been bought up already, I'm the list newbie)
Cheers,
johan
--
Johan Sørensen
Professional Futurist
www.johansorensen.com
I added an alias in my .tcshrc file to open files similar to the
bbedit command line utility.
(alias tm open -a TextMate)
When trying it out, i figured i´d test opening folders using my new command.
so typing "tm ." worked great! but unfortunately I was in my home folder:
TextMate halted, loading some 20GB worth of files to my new project.
And my point is is :) : There ought to be some handling of this
situation (when dragging folders to the dock icon as well) either
trough a warning, an option to add none-recursively, abort button in
shelf etc.
Greetings,
It seems like people are starting to go hog wild creating TM bundles,
so I have started a (currently very crude) bundle editor for TextMate
last night, which looks like this:
(note: this is not a Photoshop mockup, it's an actual screenshot of a
running Cocoa application ;) ).
If you guys think that this kind of tool would be useful until Allan
and friends come up with an integrated bundle editor, let me know.
Allan and friends, if you have something like this up your sleeves that
you are ready to ship, like, in 2 weeks, let me know as well ;)
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
As well as jumping to the correct line in files when there's a
compilation error, it now does the same with NAnt builds (for the csc
task at least).
Also included now:
Selective builds: in your nant.build file highlight a target and it
will be built, this uses the $TM_CURRENT_WORD variable, if nothing's
selected it will try to build "all" as before.
Build File syntax highlighting.
Enjoy,
Ian.
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | http://ianp.org
#endif
Hey,
This might have come up already, but I think it would helpful to have a
single page that collects (or at least points to) all the available
add-ons folks have put together for TextMate, such as bundles,
syntaxes, snippets, and so on. A two-line summary of what it does (with
screenshots where possible) would also be great.
I agree that the power of TextMate comes from unlocking its _insane_
amount of configurability. But, I also suspect that some of the
nay-sayers--especially those less experienced with the power of a
shell--would be much more inspired if they saw what they could *do*
with TM (without having to build the actual widgets themselves).
For inspiration, I think Alcor has done a nice job with [Quicksilver's
plug-in page][1], which folks can sort by alpha, popularity, or update
freshness. Best of all, users can click to install any of the plug-ins
right from that page. Takes a lot of the mystery out of the process.
Just one data point. If ya'all need help with bandwidth or what have
you, please let me know how I can pitch in. I am, as the kids say, a
fan.
[1]: http://quicksilver.blacktree.com/plugins.php (Quicksilver's
plug-in page)
--
Merlin Mann
43Folders.com
Hi
It would be excellent if one could set a custom selection color in
syntax plists. I was rather excited to see the feature under View: Show
Color Settings, but unimpressed that it was not used when syntax
coloring was enabled. Might there be an undocumented property to set it
in a syntax file?
- craig davey
I'm trying to work out a couple of bugs in my XML syntax. I may have
uncovered a bug in the folding code, or I may just be suffering from
regexp brainfade...
What I was originally trying to accomplish was two types of folding. I
wanted the following to fold up:
(begin) <foo>
<bar />
(end) </foo>
... and I also wanted this to fold:
(begin) <foo key="value"
(end) key1="value" />
The latter would ideally fold to
<foo key="value"(...)
Am I correct in believing that this second form can't be accomplished
with the simple folding marker regexps available now? The help doc
says that it expects the end folding marker to be on the same indent
level as the start folding marker, and the second form definitely is
not.
Now, for the part that may be a bug:
I haven't found a regexp that will make TM *ignore* the abbreviated
(but multi-line) XML element above (the 2nd one). Perhaps this is all
well and good, except that TM seems to rather arbitrarily match the
would-be end tag for the shortened element. I'll annotate the
screenshot below:
Line 62 starts one of those singleton elements. Note that there is no
closing tag, but at line 67, another element begins as the same indent
level. In the current state, if I use the folding start button in the
gutter at line 62, TM folds the document to line 72 (the end of the
first </target> text). If I fold the "clean" target (lines 67 to 71)
and then fold the <target> at line 62, TM folds all the way to line 92.
It seems to me that TM should stop searching for a match if a new start
fold marker is discovered at the same indent level. Is that correct,
or are my regexps just more sloppy than I thought they were? :-)
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
Is it open to me to set HTML attributes to have a different color to
the tag itself? I'm aware that I can edit the relevant file in the
Bundles directory to configure my syntax coloring but recall reading
something somewhere that this was not possible as yet re attributes &
tags.
Hi folks,
I wanted to try TM for Perl programming, so I whipped up a quickie
syntax coloring bundle, available at
<http://math.sfsu.edu/hsu/textmate>. You might not like my subtle
colors. Feel free to change them for yourself.
I'm certain this work can be improved. If you do modify it, I'd
appreciate your sending me the improved copy!
best wishes, Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu