So what we´d need is a dtd interpreter?
Implementing bbedit cmd-m style inserting should be fairly easy
to implement given two new features in the Commands implementation;
1. "TM_CURRENT_BLOCK" environment variable. (TextMate must know this
already to handle folding.)
and
2. "Select value from list, and insert at caret" Standard output, for commands.
this way, using Commands, we can pass '<div>', '<ul id="menu">','div'
or whatever from my hypothetical TM_CURRENT_BLOCK variable to an
external script and make that return newline separated valid tags for
that context.
"Select value from list.." output would then present the result in a
list, and allow you to insert your choice at the caret.
This said, what i´d REALLY love would be a SketchUp style ruby API for
extending the editor. (http://sketchup.com/forum/list.php?f=6)
hp.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Joost Schuttelaar saying:
>>Others suggested the Interarchy application, which can make virtual
>>FTP disks, and I agree that it tends to be a very good solution. Try
>>it out if you need the integrated FTP! :-)
>40 bucks just to mount a FTP server seems a bit much to me...
Interarchy does a lot more than that. It's quite simply the best FTP
client on the Mac and the only FTP client that does everything I want an
FTP client to do. If you work with FTP (or SFTP or any of the other
supported protocols) regularly, you owe it yourself to at least check
out Interarchy.
lucas
- --
"Were you born worthless, or did you have to work at it?"
-- R. Lee Ermey as Sergeant Hartman in "Full Metal Jacket"
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWReXrXYdom/dB2cEQIArACg50l79CTpZywgttCDzZd8EHa54+wAoMsj
7n1rsWF5X8WcY5/DDDVSzKMN
=nTm8
-----END PGP SIGNATURE-----
I'm using ProFont and coding in PHP (for today, at least).
I'm finding the anti-aliased text unusable on a white background. It's
all fuzzy and lacks definition. If I switch anti-aliasing off, any
emboldened keywords become unreadable, as ProFont doesn't really support
bold text.
The ruby colour scheme, which uses a dark background, doesn't seem to
suffer from this.
Any suggestions?
drew.
--
drew mclellan
http://allinthehead.com/
web standards project
http://webstandards.org/
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-----