[TxMt] TextMate Create HTML from Selection
marios
tmtxpstuff at consking.com
Fri Nov 17 11:33:02 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I've been poking again around in the bundle editor.(Yes the Bundle
editor is very addictive)
The default command : TextMate > create HTML from selection is very
convenient.
However, I had the Idea, to have the same thing as a drag command
(without the styles), so one could just write a post and drag the code
snippets in from The drawer ( file extension code of something)
I tried to replace the variable content of TM_SELECTED_TEXT with
something like :
`cat "TM_DROPPED_FILE"`, but it doesn't output anything just the HTML
tags until the pre tags.
Could it be done easily, using the same requires in RUBY.
That way, one could just write along, while dragging the code in,
without loosing focus of the document window.
Wouldn't that be nice ?
Any Ideas ?
regards, marios
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: This might change in the future
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFXZ3t8tSzPOYuZvQRAqBxAKCUyKqXu/u/1+fRGh3PV9sDmegZHgCeKOeX
vpft0q1X5hNM2NPdWaBEUNs=
=UmSW
-----END PGP SIGNATURE-----
More information about the textmate
mailing list