OmniBrowser minor request

Colin Putney cputney at wiresong.ca
Fri Jan 14 04:44:22 UTC 2005


On Jan 13, 2005, at 7:53 PM, John Pierce wrote:

Hi John,

I'm glad you're using OmniBrowser enough to get annoyed by it!

> I really like OmniBrowser but would like it a bit more if the Image
> Browser let me unselect a class so I could get the "subclass template"
> in the bottom code pane.

This was the original behavior of OB, but I changed it early on because 
I found it really annoying, particularly in the chasing browsers. With 
the current behavior, clicking on something will always select it, no 
matter what was selected before. I find this consistency in the 
interface very valuable; I never end up tripping over my own habits. To 
see the "subclass of Object" template, just click on a system category.

With the clicking-toggles-selection behavior you have to do some odd 
reasoning to figure out how to display thing thing you want to see. For 
example, if you're browsing a method and you want to see the class 
definition, you've got to click on the currently selected method 
category. To me that's just weird, and I never got used to it in the 
default browser.

YMMV, of course, so attached is a change set that will do what you want.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OB-autoDeselect.1.cs
Type: application/octet-stream
Size: 571 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050113/cd3382e7/OB-autoDeselect.1.obj
-------------- next part --------------


> Also, if the list of methods of the class would show all methods 
> without having to click a protocol -- that
> would be fantastic.

Yes, I've been meaning to do this for some time. The trick is to allow 
these kind of interface tweaks without destroying the generality of the 
browser framework. I completely agree that this is a handy behavior, 
though, so I'll have to figure something out.

Colin


More information about the Squeak-dev mailing list