[TxMt] Re: Bundle Development: Show Scope (HTML) broken
Andy Herbert
andy.herbert at me.com
Fri Dec 23 20:58:05 UTC 2011
On 23 Dec 2011, at 20:37, Gerd Knops wrote:
>
> On Dec 23, 2011, at 1:31 PM, Andy Herbert wrote:
>
>> 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.
>>
> Actually this command mysteriously started to work for me. No idea if it was a TM2 update or something I did that made it work.
It will work if you change to a theme the doc2html script can find, i.e. one of the bundled themes. Switch to a theme installed through preferences, and you'll still get the error.
More information about the textmate
mailing list