[TxMt] Re: Bundle Development: Show Scope (HTML) broken

Andy Herbert andy.herbert at me.com
Fri Dec 23 19:31:21 UTC 2011


On 18 Dec 2011, at 17:57, Gerd Knops wrote:

> Show Scope (HTML) in the "Bundle Development" bundle appears to be broken, it always displays an alert "Could not locate your theme file!" independent of the chosen theme.

The problem appears to be in doctohtml.rb, found in Textmate.bundle/Support/lib, the method does not appear to be returning theme data outside of the Themes.tmbundle.

If you insert:

return find_theme("71D40D9D-AE48-11D9-920A-000D93589AF6")

on line 35, it should fix the problem by returning the settings for the Mac Classic theme, but this is by no means a permanent fix.


More information about the textmate mailing list