Eric O'Brien | 24 Aug 2010 04:45

Re: web preview question

Umm...  How does one evoke the "Application Support" version of Web Preview?

eo

On Aug 23, 2010, at 5:32 AM, Rob McBroom wrote:

On Aug 22, 2010, at 10:59 AM, Jon Ippolito wrote:

Out of curiosity, do you consider the Web Preview enabled via Application Support/Textmate to be "fancy" just because it has a different theme, or does it have some other codebase?

I assume they're both rendered by the system's WebKit in the end, but the themed one gets run through some Ruby scripts first.

Which is "better" depends on what you're previewing. For something with basic paragraph, header, pre tags, etc. (like the output from Markdown) it's nice to have the themes. If you're doing proper web development, the "built-in" preview is probably preferable as it doesn't inject any surprises into your styles.

-- 
Rob McBroom
<http://www.skurfer.com/>



_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate
Christopher Brewster | 24 Aug 2010 11:43
Picon

TODO bundle error

I am sure this has been discussed before but I cannot track it down.
I get the following error when using the TODO bundle with a latex file:
----
Scanning directory: ~/Dropbox/Aston/Research/Papers/Ontology_Evaluation

(erb):4: undefined method `+' for nil:NilClass (NoMethodError) from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:99
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/erb.rb:716:in
`grep' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in
`each' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in
`grep' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76:in
`open' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76
from /Applications/TextMate.app/C
 ontents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75:in `each' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75
from /Library/Applica
 tion Support/TextMate/Support/lib/textmate.rb:201:in `call' from /Library/Application
Support/TextMate/Support/lib/textmate.rb:201:in `each_text_file' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:71
----

How can this be fixed?

Thanks,
Christopher

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Jon Ippolito | 24 Aug 2010 16:16
Picon
Gravatar

Re: web preview question

Eric O'Brien wrote:

> Umm...  How does one evoke the "Application Support" version of Web 
> Preview?
Umm...my question too :)

jon

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Rob McBroom | 24 Aug 2010 22:30
Favicon

Re: web preview question

On Aug 23, 2010, at 10:45 PM, Eric O'Brien wrote:

Umm...  How does one evoke the "Application Support" version of Web Preview?

By default, ⌃⌥⌘P is assigned to "Show Web Preview" on the Window menu. Some commands override this keyboard shortcut and call something else (involving a system of shell scripts, Ruby, CSS, etc). I believe this something else is what was referred to as the "Application Support" version.

Several commands use this version over what I call the "built-in" version (from the Window menu). Try them both out to see the difference.

-- 
Rob McBroom

If you need something, that doesn't mean someone else owes it to you. If you don’t need something, that doesn’t mean someone else can take it.


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Gmane