[BUG][FIX] Auto correcting in Morphic

Dan Ingalls Dan.Ingalls at disney.com
Tue Jun 13 16:28:39 UTC 2000


>On Mon, 12 Jun 2000 20:19:18 -0700 Dan Ingalls <Dan.Ingalls at disney.com> wrote:
>>You've been so good.  Can we knock this one off too?
>>
>>It needs to work whether you use cmd-p or use the print command from the menu.
>>And it needs to work both for the above correction and the following...
>>
>>	| a b |
>>	a := 3 + 4.
>>	a zort
>>
>>In this case, you still only select through the last 'a'.  Right now, the compiler ends up looking beyond the 'a' after the correction has been performed and gets an error.  It's likely just the same problem.
>>
>>Bob seemed to have gotten close in his [suggestion].  Also the method installEditorToReplace: might be a useful tool.  Anyone want to give it a shot?
>>
>>We never called extent: before in this situation.  Whether we fix it or not, we should definitely eliminate this call except when it is absolutely necessary.

Bob Arning <arning at charm.net> calmly replied...
>This seems to do the job:
> ...

Yay, Bob!

Now out as update #2406 (and #2344 for 2.8).

	- Dan







More information about the Squeak-dev mailing list