[TxMt] print with colors
Baluta Cristian
cristi.baluta at gmail.com
Sun Jan 27 05:53:44 UTC 2008
Thanks guys, i found it.
I have a custom dark theme too, 242424.And i'll create another one just for
print.
On Jan 27, 2008 1:27 AM, Daniel Stockman <daniel.stockman at gmail.com> wrote:
> You can also print directly from TextMate's built-in web preview.
>
> While viewing the target document:
> 1. Press Control + Command + T (Select Bundle Item...)
> 2. Type "create HTML", press Enter (arrow down for line numbers)
> 3. Control + Option + Command + P (Web Preview)
> 4. Command + P
>
> I tried recording a macro to do this, but it seems to only record
> macros in the current window, which breaks as soon as another window
> is focused on (in this case, the generated results window, I believe).
>
> Also, if your theme has a dark background (like mine, a hacked up
> Sunburst), the printed output will be somewhat hard to read. But I
> figured you knew that. :)
>
> ~ Daniel
>
> On Jan 26, 2008, at 11:00 AM, Horst Gutmann wrote:
>
> > 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.macromates.com
> > (threading g
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080127/b0dab489/attachment.html>
More information about the textmate
mailing list