Hi,
Two things that I find consistently not to my liking in how TextMate
handles Ruby code:
1) When you fold a (ruby) function it places a "---" marker at the end
of the non-folded first line to represent (presumably) the folded
section.
However, although the "---" isn't part of the logical line, if you
place the caret before the marker and hit Enter the marker is moved
down a line and inherits a folding arrow. This leaves the first line
of the folded function disjointed with a non-functioning fold arrow.
=> I'd like hitting Enter at the "---" to move the caret to a new line
below the folded function without affecting the folded section.
2) When you fold a function and use Ctrl+/ on the visible line with
the "---" marker to comment it out what actually happens is that t
comments out only the visible line. The rest of the function is not
commented if you expand it.
=> I'd like to it comment/uncomment the folded section as well.
I am using v1.1b17
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
Are language definitions merged?
There are a few languages where I have some 'private' rules. Is it
possible to write them in such a way that these are merged with
whatever language definition is found 'higher up', so that I can
easily enjoy updates from the svn repository without having to modify
that definition each time?
Gerd
Has anyone experienced an increase in TextMate's performance after
upgrading to Tiger?
On Panther, for me, simple things like switching tabs take half a sec.
My specs:
Panther 10.3.9 on Powerbook 15"
1.5 GHz PowerPC G4
1GB DDR SD RAM
I don't know how to fix this but maybe someone else does: When I use
the "Show TODO list" command (ctrl+shift+T), german umlauts like ä,ö
or ü are getting displayed wrongly.
Cheers. Oliver
Hello.
I'm experimenting with crazy nested syntax coloring.
I can't seem to figure out how to make all the transparent background
colors interact properly.
Ideally I'd like to define a scope:
scope test = everything within "(...)"
Then set a syntax color of transparent background color.
scope: test = White 10% opaque
Then nest a bunch of them inside each other.
zero (one (two (three (four (five (six (seven (eight ))))))))
result: The transparent background color would compound and gradually
get stronger:
n/a (10% (20% (30% (40% (50% (60% (70% (80% ))))))))
If I could get this to work, I could color different block types with
a massive background color & the content colors would be based on the
block color.
EG: HTML tags = blue BG, embedded ASP = red BG, strings = yellow
BG ... string in html tags = green, string in asp = orange.
With what I know now I could simulate this by explicitly setting the
background colors for every possible combination of elements, but
that's a lot of work. And if I decide to change the hue of something
I have to manually recalculate all of those static simulations of
color interactions.
---
I can get things to interact with the background color.
If I change the BG color for the scope "source" all the transparent
things define their transparency based on that color.
Also the line highlight & selection colors.
---
Am I asking for too much?
Will this make performance suffer?
Is this already possible, but I just can't figure it out?
I was trying to figure out how I could write a snippet that would
wrap a bunch of lines into a HTML list... lets say you got this text:
item 01
item 02
item 03
then the snippet would output:
<ul>
<li>item 01</li>
<li>item 02</li>
<li>item 03</li>
</ul>
I'm kinda stuck on how to get the recursive thing to adapt to the
number of list items... Any thoughts? Thanks! :)
.........................................
m i n i m a l d e s i g n
244 Fifth Avenue - Suite P233
New York, NY 10001-7604
USA
tel / fax: 212.931.8525
email: work(a)minimaldesign.net
site: http://minimaldesign.net/
In order to streamline snippet input from selection, it would be
pretty cool to have the option to access the snippets from a
contextual menu. A pretty flexible way to implement that could be a
check box or equivalent in the bundle editor that says something like
"include in contextual menu" on a per language and/or snippets basis.
.........................................
m i n i m a l d e s i g n
244 Fifth Avenue - Suite P233
New York, NY 10001-7604
USA
tel / fax: 212.931.8525
email: work(a)minimaldesign.net
site: http://minimaldesign.net/
Question from a Terminal newbie ... is there a way to automatically
execute the three commands I use for the subversion checkout?
(Namely these three:
cd /Library/Application\ Support/TextMate
export LC_CTYPE=en_US.UTF-8
svn --username anon --password anon co
http://macromates.com/svn/Bundles/trunk ./
)
Does the application Pipe help you do something like automating this
into a little macro? Or is there a more direct way?
Thanks very much for the help -
Jim
Expected behaviour: Cmd+W closes the file as fast as clicking the "x"
icon on the tab
Actual behaviour: Cmd+W takes a bit longer to close a file than
clicking the "x" icon on each tab\
Version: 1.1b17 (v1.1b17)