[TxMt] Re: Web preview enhancements?

Marco De Vitis starless at spin.it
Thu Jul 3 14:34:56 UTC 2008


Il 3-07-2008 7:05, Thomas Aylott / subtleGradient ha scritto:

> My "Leopard Dark 2" GUI replacement
> http://wiki.macromates.com/Main/AlternativeGUIs does help a bit.

Thanks, I installed it and it's cool ;), but in what regard does it 
help? You mean for having the same fonts as Safari in the web preview?

> Also check out my subtleGradient.tmbundle on GitHub:
> http://github.com/subtleGradient/subtlegradient-tmbundle/tree/master
> 
> If you set up the
> subtlegradient.tmbundle/Support/bin/42_TextMate_live_preview.rb file
> as your filter through command in the web preview window you can get
> live html and CSS previews. You have to set the url to use for
> previewing css first. There's a command to do that for you too.

Uhm, I did it, and I think I found the command you mention, but I must 
be missing something. How should I proceed to get my HTML page preview 
while editing the related CSS?
I tried opening the CSS, then the HTML in a different tab, then while on 
the HTML file selecting the "Use this page as the CSS preview" bundle 
command, but I get an error popup:

/Applications/TextMate.app/Contents/SharedSupport/Support/lib/escape.rb:23:in 
`e_url': private method `gsub' called for nil:NilClass (NoMethodError) 
from /tmp/temp_textmate.44nGg5:5

-- 
Ciao,
   Marco.




More information about the textmate mailing list