[Newbies] new browser doesn't color code for easy reading

Lawson English lenglish5 at cox.net
Tue Oct 19 07:23:03 UTC 2010


  On 10/15/10 5:09 AM, Tobias Pape wrote:
> [...]
> If you installed using Metacello or the "Installer" script (look
> for either word in the Installation method you used), you can use the
> Metacello-way _again_ since there was a small update lately which
> corrected the loading of some packages and Shout, the syntax highlighter
> (or code colouring, as you call it), should load correctly now.
>
> Do It:
>
> "Omnibrowser, including Refactoring engine"
> Installer squeaksource
> 	project: 'MetacelloRepository';
> 	install: 'ConfigurationOfOmniBrowser'.
> (Smalltalk at: #ConfigurationOfOmniBrowser) project lastVersion load: #( Dev ).
>
> Note that lastVersion may refer to a non-release version (beta/development…), while latestVersion
> would indicate the latest release version.
>

Thanks for reminding me of how to do that properly. One thing I have 
noticed, however, is that different classes seem to evoke different 
behaviors from the same browser. One obvious example is that after doing 
the above Installer script, the browsing PRDistribution in package 
Pier-Setup, evokes a pane menu for methods. Likewise with its sub-class, 
PREventDistribution.


HOWEVER, with PRBookDistribution, which is another sub-class of 
PRDIstribution, the browser does NOT provide a pane menu for methods. 
There's no doubt some reason why this happens but it is somewhat odd 
since the same pop-down menu is available for each method in the method 
pane, regardless of which class is being browsed...



Lawson


More information about the Beginners mailing list