For anyone on Leopard, you might want to check out the QLColorCode  
plugin for previewing source code with Quick Look in the Finder. You  
can find the plugin at:

http://code.google.com/p/qlcolorcode/

I've been using it for a while with the default "ide-xcode" theme and  
it works quite well. But I'm a longtime BBEdit user and wanted my  
previews to match BBEdit's default theme. Fortunately, QLColorCode  
uses Highlight, which accepts theme files. You can find the  
documentation here:

http://www.andre-simon.de/doku/highlight/en/highlight_themes.html

So I created a quick theme file that approximates BBEdit's default  
color scheme. Note that BBEdit and QLColorCode don't completely agree  
on keywords for some languages, so there are a few discrepancies. Most  
of these differences, however, are only noticeable in a side-by-side  
comparison. This could be worked around by editing QLColorCode's list  
of language keywords, but I don't have time to tinker with that right  
now.

If you'd like to try my BBEdit theme file, you can download it here:

http://web.me.com/dennisrande/downloads/bbedit.style.zip

To install, put the file here:

~/Library/QuickLook/QLColorCode.qlgenerator/Contents/Resources/ 
highlight/share/highlight/themes/bbedit.style

Or, to keep the BBEdit theme file from getting overwritten whenever  
you install a new version of QLColorCode, you can put it in a safe  
place and just create a soft link to the above path. Note that a  
regular alias does *not* work.

Once you have the bbedit.stlye file in place, tell QLColorCode to use  
the new theme with:

defaults write org.n8gray.QLColorCode hlTheme bbedit

If you make any updates, please share! Enjoy!

-Dennis


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "supp...@barebones.com" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to