-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Allan Odgaard wrote:
On 18. Nov 2006, at 20:33, marios wrote:
[...] The Idea though was to not only insert the code snippet, but also html-ify it with the TextMate > create HTML from selection/ Document command.
Taking the original Code, and creating a new drag command, i tried something like this: [...]
Okay, that is not possible -- the Create HTML From Document / Selection gets the document / selection as it is parsed by TextMate, you can’t currently invoke the TM parser on arbitrary files.
Ok, I understand. I have cobbled together a workaround, I wrote about it here: http://www.consking.com/delyriumlab/prettify-your-code (I didn't think about the white space though, so I have to modify the macro)
regards, marios