Pretty Print bug?

Russell Penney russell.penney at tincanct.com
Sat Jun 19 22:20:28 UTC 2004


David, Doug,
    I love you both in a male bonding non sexual way. :)
That looks like the problem; I use the switch-ctrl-alt preference. Which
method is it that does this madness? Maybe I should just use the Keymapping
package.

Russell

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org [mailto:squeak-dev-
> bounces at lists.squeakfoundation.org] On Behalf Of Doug Way
> Sent: Sunday, 20 June 2004 2:01 AM
> To: The general-purpose Squeak developers list
> Subject: Re: Pretty Print bug?
> 
> 
> On Saturday, June 19, 2004, at 11:24 AM, C. David Shaffer wrote:
> 
> > Russell,
> >
> > Just a shot in the dark: are you using a "control key" combination to
> > accept your methods?  There is browser code which checks if control is
> > down when a method is selected and it displays a decompiled version of
> > the method.  Normally this code never fires in morphic since in most
> > OS's pressing control when you select a method with the mouse causes
> > the halo to appear on the window.  However, if you're using control-S
> > to save, for example, then it fires that code.  BTW, this annoyed me
> > so much that I overrode that browser method in my Keymapping package
> > on SqueakMap.
> 
> Oooh, I bet David is right on this one.  This is rather nasty, as it
> would only show up if you've happen to turn on the switch-ctrl-alt
> preference, and then would only happen depending on how long you held
> down the ctrl key.
> 
> In any case, that browser code which checks if ctrl is down should
> probably be terminated with extreme prejudice, and replaced with
> something more reasonable.
> 
> - Doug
> 
> 
> >
> > David
> >
> > Russell Penney wrote:
> >
> >> Definitely not!!! I just tried that for the first time when I read
> >> your
> >> email. You should not do that to a sick man, I though I had put a
> >> break into
> >> every method for a second! I had nightmares of endless cascading
> >> debugger
> >> windows. You can tell I am on good cough medicine cant you?
> >>
> >> No the key is that it is intermittent. Where do I look to find what is
> >> triggered when you accept a method in the browser? Oh and one other
> >> thing to
> >> think about is that although I get a different view in the browser
> >> AFTER I
> >> accept the method, I don't get asked to save if I select a different
> >> window
> >> in the browser like I would if I had made a change but not saved.
> >>
> >> Russell
> >>
> >>
> >>> -----Original Message-----
> >>> From: squeak-dev-bounces at lists.squeakfoundation.org
> >>> [mailto:squeak-dev-
> >>> bounces at lists.squeakfoundation.org] On Behalf Of Ned Konz
> >>> Sent: Saturday, 19 June 2004 3:29 PM
> >>> To: The general-purpose Squeak developers list
> >>> Subject: Re: Pretty Print bug?
> >>>
> >>> On Friday 18 June 2004 7:49 pm, Russell Penney wrote:
> >>>
> >>>> I think something is happening when accepting the method that
> >>>> changes
> >>>>
> >>> the
> >>>
> >>>> display to a decompiled view. Something is refreshing the browser
> >>>> window
> >>>> maybe?
> >>>>
> >>>> Any pointers on where I should start looking would be greatly
> >>>>
> >>> appreciated
> >>>
> >>>> as I have no idea where to even start.
> >>>>
> >>> Have you used the "toggle break on entry" feature? This gets rid of
> >>> the
> >>> locals
> >>> and comments too, resulting in a decompiled view...
> >>>
> >>> --
> >>> Ned Konz
> >>> http://bike-nomad.com/squeak/
> >>>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> 






More information about the Squeak-dev mailing list