is it possible to print the code with the colored syntax?right now is converting everything with black on white.
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
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
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
It seems to me that the RSpec bundle's 'it' snippet is in need of some love. By default, a newly inserted spec passes. This seems odd as it is misleading. It also makes it harder find what specs still need to be completed if you return to an RSpec module after a break.
I propose that the 'it' snippet is changed to the following:
it "${0:should ${1:description}}" ${3:do ${2:pending("Needs to be written")} end}
This tweak simply adds a 'pending' statement as the body of a newly created spec. When run, the tester will be alerted to an unfinished test.
Thoughts?
Thanks!
Matt Darby, M.S. IT Manager / Lead Web Developer
Dynamix Engineering Ltd. 1108 City Park Ave. Columbus, OH 43206 Cell: (614) 403-5289 www.dynamix-ltd.com
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@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
For new threads USE THIS: textmate@lists.macromates.com (threading g
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@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@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
For new threads USE THIS: textmate@lists.macromates.com (threading g
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