[Pharo-project] Strange code replacement when prompting unknown selector

Guillermo Polito guillermopolito at gmail.com
Fri Oct 8 23:31:14 EDT 2010


The problem seems to be between *TextEditor>>correctFrom:to:with:* and *
Parser>>substituteWord:wordInterval:offset:*

The TextEditor isn't using well the selection offset to calculate the
replacement, and the parser is sending an interval that's not the one that
the Editor must replace.

I think the right place to put this is the Editor, but behind another
message like replaceInSelectionFrom:to:with:

What do you think?

Guille


On Wed, Oct 6, 2010 at 6:33 PM, Guillermo Polito
<guillermopolito at gmail.com>wrote:

> http://code.google.com/p/pharo/issues/detail?id=3070
>
> Cheers!
> Guille
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20101009/dcaa7c8f/attachment-0001.html>


More information about the Pharo-dev mailing list