Pretty Print bug?
dway at mailcan.com
Sat Jun 19 16:01:10 UTC 2004
On Saturday, June 19, 2004, at 11:24 AM, C. David Shaffer wrote:
> 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.
> Russell Penney wrote:
>> Definitely not!!! I just tried that for the first time when I read
>> 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
>> 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
>> in the browser like I would if I had made a change but not saved.
>>> -----Original Message-----
>>> From: squeak-dev-bounces at lists.squeakfoundation.org
>>> 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
>>>> display to a decompiled view. Something is refreshing the browser
>>>> Any pointers on where I should start looking would be greatly
>>>> as I have no idea where to even start.
>>> Have you used the "toggle break on entry" feature? This gets rid of
>>> and comments too, resulting in a decompiled view...
>>> Ned Konz
More information about the Squeak-dev