I was poking around in the HTMl bundles and found an easy way to add
more elements that would fold (Marc asked about this).
Go to and edit:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
HTML.tmbundle/Syntaxes/HTML.plist
Line 34 and 35 are:
foldingStartMarker =
"(<(?i:(head|table|div|style|script|ul|ol|form|dl|p|li|a|select))\\>.*?
>|\\{)";
foldingStopMarker =
"(</(?i:
(head|table|div|style|script|ul|ol|form|dl|p|li|a|select))>|\\})";
I added the p,li,a, and select.
One thing to note is that a fold will only occur if an element takes up
multiple lines (one line wrapped will not fold).
Have Fun,
Eric Curtis
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Sune Foldager saying:
>>2) I for one can never remember all the different versions of (X)HTML
>>and how you're allowed to nest tags in each version and what tags
>>have which attributes and so on.
>I think the best practice is to just write HTML like it was XHTML
>strict.. or at least transitional. That is, always end your tags,
>always end non-dual tags with /> and so on.
That's what I do, but it doesn't help me with the problems I mentioned.
>I think making TM into an editor which manages all the standards for
>you is a mistake. There is the w3.org site for checking the standards,
>and I think it's best if the person knows about it, not the program.
I write applications in Java, C#, Objective-C, C, C++, AppleScript, Perl
and some other languages. I write HTML, CSS, JavaScript, RSS and more
for several different web sites which use different versions of (X)HTML.
I'm afraid I don't work with HTML often enough to remember what
attributes were removed from which version of HTML, but I still want to
write valid HTML. Of course I validiate my sites with the HTML
validator. But even so I would like to have an editor that helps me
write corrent HTML in the first place by showing me what's allowed and
what's not while I actually write the code.
This is not a show stopper. TextMate is great even without such a
feature. But this feature would definitely help me a great deal and save
a ton of my time.
lucas
- --
"There is no more noble occupation in the world than to assist another human being - to help someone succeed."
-- Alan Loy McGinnis
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWRAJrXYdom/dB2cEQJeGACgmlCeSc0p/4oUMK/C2/ToMlret/EAnA3L
Zl4ZH/30CZfRPBLj2UySf465
=4foR
-----END PGP SIGNATURE-----
Hi,
First of all, congratulations on a very impressive first release! I
think TextMate has great potential, but people should keep in mind that
it's only a 1.0 release. BBEdit (for example) has a 12 year head-start!
Give it some time.
I humbly submit these two small(?) feature requests which I haven't yet
seen on this list:
- An option to highlight the line containing the insertion point (a la
BBEdit 8).
- An option to "Indent wrapped lines by n spaces" (a la Xcode).
Both of these seemingly trivial things would make my coding life
(ObjC/Ruby) a bit easier.
Thanks for listening, and keep up the excellent work!
Kind Regards,
-jeff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Nick Hristov saying:
>>6. Context sensitive code completion that is included in skedit and
>>DW (XHTML/CSS are most importnat to me).
>In my opinion that is a bad idea. This will bloat the editor. XHTML
>and CSS are not all that hard to learn, and you can quickly learn by
>heart the properties.
Two thoughts:
1) It won't bloat the editor if the user can turn it off
2) I for one can never remember all the different versions of (X)HTML
and how you're allowed to nest tags in each version and what tags
have which attributes and so on.
Of course, it will take time to implement something like this, so the
question is whether there are enough people who want it.
TM Users wrote:
>Lucas, just in case you're not aware, that's exactly how skEdit
>operates
Well, the problem with skEdit is that I downloaded it about a month ago,
opened it, promply forgot about it and now can't open it anymore since
the demo has expired :-)
I'll try to get it running again.
lucas
- --
"Are you the boys that spray-painted my dog?"
"Uh, no, that was some other guys, huh huh."
-- Beavis & Butthead
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWQyj7XYdom/dB2cEQLdoQCgw+JhPRFUH8WQMQl8s3TmBu2R9YMAoJD/
P54vyar6b9m9UFdt7qrRJN9S
=z5Lv
-----END PGP SIGNATURE-----
First of all, congrats on getting the app out. As an imminent
switcher, I have been looking for an ultraedit replacement.
I know the site says that Editing over Secure FTP is coming soon.
However is there a way to open and save documents over FTP. I did a
cursory search and couldn't find it. Any help would be appreciated.
Thanks,
Ron
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Nick Hristov saying:
>Why not just do an ftp mount through the finder?
Because you can't write to a server mounted in the Finder.
lucas
- --
"It's dawned on me that Zero Tolerance only seems to mean putting extra police in poor, run-down areas, and not in the Stock Exchange."
-- Terry Pratchett
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWQzC7XYdom/dB2cEQI3XQCg2/L1YMraapquMtP/8B8QPNL1GnEAn3YK
KUP8Ir+r6mMS2k8gXzczH66r
=d16D
-----END PGP SIGNATURE-----
Nick,
FTP Mount via the finder is read-only. That would be kinda
pointless for this application wouldn't you think?
On Wed, 6 Oct 2004 12:33:20 -0500, Nick Hristov <hrisnik(a)iit.edu> wrote:
> Why not just do an ftp mount through the finder?
>
> Nick
>
> On Oct 6, 2004, at 11:58 AM, Lucas K. Mathis wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 6.10.2004, space aliens observed Tomas Jogin saying:
> >>>> I hope ftp-support is added soon, not just being able to edit a
> >>>> remote file, but actually being able to associate a project with an
> >>>> ftp account.
> >>> Is there any reason why you don't use an actual FTP application for
> >>> this? Interarchy has some awesome features for this kind of work.
> >>> What I do right now is this: For each Project in TextMate, I have an
> >>> FTP Disk in Interarchy. When I open a Project, I mount the FTP Disk.
> >>> Whenever I change something in TextMate, it's being uploaded
> >>> automatically to the FTP server.
> >> The reason I don't want to use an actual FTP application is that I
> >> don't want to incessantly switch between the editor and the
> >> ftp-application.
> >
> > Using FTP disks, you don't have to. Of course, it's not quite as nice
> > as
> > absolute automation, but it's pretty close. And it could probably be
> > totally automated using AppleScript by having a script that opens both
> > the Project and the Interarchy FTP disk.
> >
> > Once both are open, you don't have to do anything in Interarchy
> > anymore.
> > It will pick up on any changes you make in TextMate (or any other
> > application) all by itself.
> >
> >
> >> The interarchy feature you mention sounds pretty nice, and in fact
> >> I'll download Interarchy right now, because it does sound sweet, but
> >> having it integrated with the editor would be even better. By the
> >> way, something like that isn't possible with Transmit (which I
> >> currently use), right?
> >
> > No, Transmit doesn't do anything like that as far as I know. FTP disks
> > are a unique feature of Interarchy.
> >
> > lucas
> >
> > - --
> > "These guys are pretty cool - even though they're sixty."
> > -- Beavis & Butthead (about Aerosmith)
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: PGP SDK 3.2.2
> >
> > iQA/AwUBQWQkQLXYdom/dB2cEQKYdACgmZYdBNb4NtRTjweCzWyYU2vsbzIAoMQ9
> > GXF/o6AFjsPVB9hl2qW7VSjc
> > =S7Mp
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/mailman/listinfo/textmate
> >
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>
I've got a rough cut at XML and Java syntaxes done. They're available
in my Subversion repository[1].
[1] http://telly.bravo5.org/svn/repos/TextMate/
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
Gread job so far, macromates!
Here is stuff to think about:
- AppleScriptability (pardon my ignorance, is it scriptable)?
- Gutter: use color lines as clues for start and end of code blocks
(steal that idea from jEdit :)
- Preferences? Editting bundles is an unpleasant hybrid between mac and
unix. (btw., in the short term you can create a "themes" part on your
website and place collections of bundles there ...
http://theexciter.com/ has a few already).
Did I say you have done great job? Hope you bury bbsoftware :)
Nick
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed timothy martens saying:
>Any plans for XHTML/CSS code hinting?
The main feature I use in BBEdit is the excellent CSS support. I can
easily create new CSS rules and find out what the correct syntax is.
Having something similar in TextMate would be great.
lucas
- --
"Wine makes a man more pleased with himself; I do not say that it makes him more pleasing to others."
-- Samuel Johnson
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWP9YbXYdom/dB2cEQLbtQCfSFIHwQQnhvkV4wLeofsyYvhCQ4oAoJcz
GGzTM3zdpzqlZViEHYyrgj/T
=G/6W
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed David Heinemeier Hansson saying:
>SFTP support is planned for version 1.1. And unlike most editors that
>merely integrate with Transmit or other existing programs, the plan
>is to have support from within TextMate.
In addition to that, I would love to be able to use TextMate as an
external editor for other FTP applications like Interarchy.
lucas
- --
"It's that dude! The Grim Rapper!"
-- Beavis & Butthead
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWP9d7XYdom/dB2cEQLKnwCgrkrvjjgRDIC60Zma4KHgtP3ghuAAnAzn
MOVzOXHw9DxirCVWlsFQxIAc
=5cmY
-----END PGP SIGNATURE-----
> On 6.10.2004, space aliens observed Tomas Jogin saying:
> >I hope ftp-support is added soon, not just being able to edit a
> >remote file, but actually being able to associate a project with an
> >ftp account.
>
> Is there any reason why you don't use an actual FTP application for
> this? Interarchy has some awesome features for this kind of work. What I
> do right now is this: For each Project in TextMate, I have an FTP Disk
> in Interarchy. When I open a Project, I mount the FTP Disk. Whenever I
> change something in TextMate, it's being uploaded automatically to the
> FTP server.
The reason I don't want to use an actual FTP application is that I
don't want to incessantly switch between the editor and the
ftp-application. I just want to hit a shortcut key to upload the
document I'm currently editing and that's it. Often times, I have many
documents open at once, which reside in different directories. If I
used a separate FTP-application, not only would I have to switch to
it, but I'd also have to traverse to the right directory, on both the
server and the client, and then upload the file in question -- instead
of just hitting a keyboard shortcut in the editor and that's it.
The interarchy feature you mention sounds pretty nice, and in fact
I'll download Interarchy right now, because it does sound sweet, but
having it integrated with the editor would be even better. By the way,
something like that isn't possible with Transmit (which I currently
use), right?
Thanks for the tip on Interarchy, but the feature request still stands. ;-)
Best regards,
Tomas Jogin
Is there a command to revert a file to it's saved state? It'd be
easier than closing the file (declining to save my changes) and then
re-opening it.
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Tomas Jogin saying:
>I hope ftp-support is added soon, not just being able to edit a
>remote file, but actually being able to associate a project with an
>ftp account.
Is there any reason why you don't use an actual FTP application for
this? Interarchy has some awesome features for this kind of work. What I
do right now is this: For each Project in TextMate, I have an FTP Disk
in Interarchy. When I open a Project, I mount the FTP Disk. Whenever I
change something in TextMate, it's being uploaded automatically to the
FTP server.
I'm not sure what exactly the plan is as far as TextMate's FTP support
is concerned, but if you need this right now, Interarchy can provide it.
lucas
- --
"I know why the caged bird sings."
-- Maya Angelou
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWPyRbXYdom/dB2cEQKDKwCgkipEKndn+Kkz1AActqloXvdqHdEAoJ9d
FqtQbXhGio8J7wAmxllYQYIz
=3Cho
-----END PGP SIGNATURE-----
Hi,
Many congratulations on the release. TextMate is truly impressive
stuff.
I certainly wouldn't want to start any holy wars already, but I've
written a small comparison of TextMate and my current daily editor,
SubEthaEdit, that might be of passing interest.
<URL:http://www.lowerelement.com/Geekery/Mac_OS_X/TextMate_vs_SubEthaEdit.ht…>
As others have already observed, for programmers, an editor is the one
piece of software in near-constant use, and deciding to switch to a new
editor is a big, very personal, deal. I never could appreciate BBEdit
in the way that many others do -- for me, TextMate is already streets
ahead of BBEdit in terms of comfort. There are things about
SubEthaEdit I'd sincerely miss, however, despite the excellent
additional features offered by TextMate. The 30-day trial (and what I
suspect will be a fairly aggressive release schedule of improvements)
are very welcome in making that decision.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet andrew(a)article7.co.uk | www.article7.co.uk
Well, maybe I do. Just experimenting with TM and dropping files on an
open window to see how it handles things. Everything pretty much
everything opened as I expected until I dropped one file and got:
setting up accounts.rtfd/
1__#$!(a)%!#__smile.tiff
1__#$!(a)%!#__smile.tiff.tiff
smile.tiff
smile.tiff.tiff
TXT.rtf
wink.tiff
wink.tiff.tiff
Haha. The file in question was a cut and paste from a conversation that
Dean and I had via iChat. Crazy stuff.
So I'm not sharing silliness for no gain, what exactly am I seeing
here? Why is TM only registering the embedded smiley graphics and not
the text itself?
– Damelon
Well done guys. I came, I saw, I bought.
TextMate has delivered most of what was promised by the hype that
preceded the long-anticipated launch. I now look forward to its ongoing
development.
First impressions have been very impressive.
Allan
Hi TexMaters!
Forgive the rudimentary nature of the question...
Wondering how snippets work. For example, the "a href tag" snippet
which inserts "<a href="$1">$2</a>" has a trigger of "ahref"
But when I type "ahref" in an html document it does not seems to
trigger the snippet? What am I missing?
-t
TextMate 1.0 is finally here!
We know that the wait has been excruciating and the longing unbearable,
so we’re incredible proud and relieved to finally be able to say: It’s
here!
=> http://macromates.com/release
It's okay to rush for the download now. You can come back to read the
rest of this later...
TextMate was born out a personal frustration with the lack of a decent
editor for code and markup on OS X. So TextMate is first and foremost a
relief for that personal frustration. An editor that we could use to
write C++, Ruby, PHP, HTML, CSS, JavaScript, and any other programming
or presentation language.
But as all of you that signed up for this mailing list showed us, we
were not alone with our frustrations. The anticipation for the release
has really been overwhelming, so we're extremely happy to finally
deliver.
That said, this is a 1.0 release. There will be rough spots, there most
certainly will be bugs that our extensive testing hasn't found yet, and
there will be features missing that you'd wish were there. Hopefully,
though, what is there will be promising enough that you'll feel
comfortable jumping on board from the start.
So instead of raving endlessly about what is there (go to the site for
that), we're going to tell you what it still lacks:
* Good defaults for more languages (1.1)
Currently, only real love has been given to Obj-/C/C++,
Ruby, HTML, and CSS. Hopefully, you guys will help us
bring the same level of support to other languages.
* Editing over Secure FTP (1.1)
Work on files residing on another machine using Secure FTP.
* Integrate with CVS/Subversion (1.2)
Check-in, check-out, check-in, check-out. Why don't we sing
that song from within the editor?
As you can see, we're planning to address those points in near-future
point releases that will be free upgrades to all who register version
1.0 of TextMate.
We respect your right to try before you buy, so for 30 days you can
enjoy a completely unrestricted version of TextMate -- without forced
delays at start up or anything like that.
What we would appreciate, though, is that you register TextMate as soon
as you decide it's something for you. We're currently building TextMate
on a 733mhz G4. It takes 45 minutes for a complete build. It's very
painful and has been slowing down development considerably. The first
registrations will go towards getting a dual G5 -- so we can deliver
TextMate 1.1 even faster!
Sincerely yours,
Allan Odgaard & David Heinemeier Hansson