When you edit a file, just hit the "Bundles" menu from the menubar and scroll down to the "TextMate" bundle (which is one of the default bundles). In there you should see the "Create HTML from Document with Line Numbers" action. When you click that, a new document will be created which contains your sourcecode as HTML with colours etc. Just safe that and print it for instance with Safari :-)
On Jan 26, 2008 6:13 PM, Baluta Cristian cristi.baluta@gmail.com wrote:
unfortunately i think i'll never understand how bundle works. is there any bundle wich can do that? don't see a default one.
On Jan 26, 2008 12:49 PM, Horst Gutmann zerok@zerokspot.com wrote:
With the TextMate bundle you can convert a document to HTML (which uses the colours of your current style). If you then print the resulting HTML document, you end up with a coloured hardcopy of your code :-)
- Horst
On Jan 26, 2008 9:45 AM, Baluta Cristian cristi.baluta@gmail.com wrote:
is it possible to print the code with the colored syntax? right now is converting everything with black on white.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Cristi www.ralcr.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate