[squeak-dev] deselection broken in method list

Chris Muller asqueaker at gmail.com
Fri Jul 25 23:33:03 UTC 2014

Well, did you happen to notice MessageTrace>>#deselectAll?  It works but
not hooked up to a menu option so you'd have to inspect the MessageTrace
model and send it from there.

Also, have a look at MessageTrace>>#toggleSelectionAt:shifted:controlled:.
 Since 2002 (that's 14 YEARS!), it has been designed to operate like
windows selection:  Shift to extend or reduce the selection range -- that
actually still works -- and Control to toggle individual selections, which
no longer works because Control forces the "Control-Menu" because, I
assume, Apple's only have one mouse button..?  I'm not sure maybe Bert

One thing I'm curious though -- you want to file out methods you're
selecting via script, so why not just file them out with your script rather
than invole UI machinery in that?  The UI is optimized for *user
interaction*, not one-off batch operations..

On Fri, Jul 25, 2014 at 11:21 AM, Eliot Miranda <eliot.miranda at gmail.com>

> Hi All,
>     I depend heavily on fileOutAll in method list browsers.  For example,
> I'm trying to create versions of the VM's boolean cheat code for the Sista
> bytecode set and do this by filing out the code for the Newspeak set and
> editing it.  I tried to do this using "self systemNavigation
> browseAllSelect: [:m| ('*ooleanCheat*V*' match: m selector) or: [m
> sendsSelector: #booleanCheatV4:]]" to get a method list browser.  Then I
> was expecting to be able to use file out with nothing in the list selected.
>  This files out all methods in the list but...
> Deselection is broken!  I can't deselect the first item and hence can only
> file out a single definition .  Will whoever changed this please restore it
> asap? (in trunk)
> --
> Mahalo,
> Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140725/8feaf04b/attachment.htm

More information about the Squeak-dev mailing list