[squeak-dev] Re: Monticello-kb.368 (Shout styling for the MCSnapshotBrowser)

leves at caesar.elte.hu leves at caesar.elte.hu
Wed Feb 24 17:46:23 UTC 2010


Quoting Andreas Raab <andreas.raab at gmx.de>:

> Balázs Kósi wrote:
>> You need to open a new snapshot browser after installing the package,
>> because styling is enabled when building the browser. (It uses a
>> PluggableTextMorphPlus instead of a PluggableTextMorph).
>
> Still no success. And that seems correct to me - the code path taken

Strange, it works for me.


Levente

> appears to be going through MCTool>>buildWith: which calls  
> textMorph: on an instance of MCToolWindowBuilder and not the tool.  
> So your override is never being triggered from what I can see. To  
> illustrate, here's the call stack after selecting a package and do  
> "browse":
>
> MCSnapshotBrowser(Object)>>halt
> MCSnapshotBrowser(MCTool)>>buildWith:
> MorphicToolBuilder(ToolBuilder)>>build:
> MorphicToolBuilder>>open:
> ToolBuilder class>>open:
> [] in MCSnapshotBrowser(MCTool)>>show
> SystemDictionary(Dictionary)>>at:ifPresent:
> MCSnapshotBrowser(MCTool)>>show
> MCWorkingCopyBrowser>>browseWorkingCopy
>
> Cheers,
>   - Andreas
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Snapshot of Monticello-kb.368.mcz.png
Type: image/png
Size: 48823 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100224/93fe8bb2/SnapshotofMonticello-kb.368.mcz.png


More information about the Squeak-dev mailing list