Squeak-dev-62 , Shout, Monticello and ToolBuilder

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Squeak-dev-62 , Shout, Monticello and ToolBuilder

Andrew Tween
I have been investigating why, in a squeak-dev image, Shout fails to syntax
highlight in a MC Snapshot Browser on the working copy of a package but
correctly highlights in a snapshot browser on a version of a package.

It turns out that when creating a snapshot browser for a working copy,
ToolBuilder is used (see MCTool>>show) but when browsing a package version
ToolBuilder is NOT used (see MCTool>>showLabelled: ).

Which one of these is "correct"?

Is ToolBuilder used by anything else?

I can fix the Shout problem by making it work with ToolBuilder. But there is
little point in doing that if, in the future, ToolBuilder is not going to be
used.

Andy


Reply | Threaded
Open this post in threaded view
|

Re: Squeak-dev-62 , Shout, Monticello and ToolBuilder

Brian Brown-2

On Nov 21, 2006, at 4:46 PM, Andrew Tween wrote:

> I have been investigating why, in a squeak-dev image, Shout fails  
> to syntax
> highlight in a MC Snapshot Browser on the working copy of a package  
> but
> correctly highlights in a snapshot browser on a version of a package.
>
> It turns out that when creating a snapshot browser for a working copy,
> ToolBuilder is used (see MCTool>>show) but when browsing a package  
> version
> ToolBuilder is NOT used (see MCTool>>showLabelled: ).
>
> Which one of these is "correct"?
>
> Is ToolBuilder used by anything else?

ToolBuilder is correct, and provides a layer of abstraction for  
things used by tools (such as browsers) so they are not tied into  
Morphic.


Brian

>
> I can fix the Shout problem by making it work with ToolBuilder. But  
> there is
> little point in doing that if, in the future, ToolBuilder is not  
> going to be
> used.
>
> Andy
>
>