Thanks Tomaz!

I could reproduce it
The problem seems to be very specific: when typing a keyword message with many 
keywords.

Imagine I’m trying to autocomplete #asStringOn:delimiter:.

Case 1) if we do not type the colon, it works ok

1 asStringOn
=complete=>
1 asStringOn:  delimiter: .

Case 2) if we type the colon, it will complete duplicating the first keyword 
altogether

1 asStringOn:
=complete=>
1 asStringOnasStringOn:  delimiter: 

Case 3) if we start typing the second keyword, it will complete duplicating the 
first keyword separated by a colon

1 asStringOn:de
=complete=>
1 asStringOn:asStringOn:  delimiter: 

We can start by writing some tests based on this :)

Similar problems happens with more than one keyword.

Thanks again,
G

> El 16 nov 2021, a las 15:00, Tomaž Turk <tomaz.t...@ef.uni-lj.si> escribió:
> 
> Hi Guille,
> 
> I have the same Pharo build, 64-bit on 64-bit Windows 10:
> 
> <autocomplete.gif>
> 
> I tried it on three different computers with Win10 with the same image. If I 
> get a new image, it behaves the same.
> 
> Thanks and best wishes,
> Tomaz
> 
> 
> 
> ------ Original Message ------
> From: "Guillermo Polito" <guillermopol...@gmail.com 
> <mailto:guillermopol...@gmail.com>>
> To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org 
> <mailto:pharo-users@lists.pharo.org>>
> Sent: 16. 11. 2021 09:59:53
> Subject: [Pharo-users] Re: Autocomplete typing
> 
>> Hi Tomaz,
>> 
>> I’m interested in this kind of feedback.
>> I cannot however reproduce the issue, maybe you’re doing something else?
>> Below a GIF showing what happens to me in haro-9.0.0+build.1565
>> 
>> <completion.gif>
>> 
>> Cheers,
>> Guille
>> 
>>> El 15 nov 2021, a las 21:27, tomazz.t...@gmail.com 
>>> <mailto:tomazz.t...@gmail.com> escribió:
>>> 
>>> Hi,
>>> 
>>> Yet another question about autocomplete <emoticon_smiley.png>
>>> 
>>> In Pharo 9.0, when you type the first characters of a method selector and 
>>> then choose one of them and press tab or enter, the characters that you 
>>> typed in stay in the editor, but also the method selector is repeated in 
>>> full. Thus, you have to go back and remove unnecessary characters to avoid 
>>> repetition.
>>> 
>>> Pharo 8.0 is better in this sense, the characters that you typed are “typed 
>>> over“ by the selection that you make, so the editing is smooth. 
>>> 
>>> Is there anything that can be done?
>>> 
>>> Best wishes,
>>> Tomaz
>>> 
>> 
> 

Reply via email to