New version of OCompletion

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

New version of OCompletion

Alexandre Bergel
Dear List,

Tim and I have been working on improving OCompletion.
Personally, I feel these changes significant reduce the amount of  
times that I do not want the completion of opposite characters, e.g.,  
$), $], $'

Here is the comment of the version 40 of the Monticello Package:

-=-=-=-=-=-=-=-=-=
This new version provides some important improvements of OCompletion:
        - inserting a '(' before an alphanumeric character does not insert a  
')'.
        - inserting a '(' then removing it removes ')' if it was inserted
       
These features have been pair programmed with Tim Mackinnon during the  
Pharo sprint at Smalltalks'09, Buenos Aires
-=-=-=-=-=-=-=-=-=

Let us know whether you are happy or not with these improvements.

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: New version of OCompletion

Stéphane Ducasse
> Tim and I have been working on improving OCompletion.
> Personally, I feel these changes significant reduce the amount of  
> times that I do not want the completion of opposite characters, e.g.,  
> $), $], $'
>
> Here is the comment of the version 40 of the Monticello Package:
>
> -=-=-=-=-=-=-=-=-=
> This new version provides some important improvements of OCompletion:
> - inserting a '(' before an alphanumeric character does not insert a  
> ')'.
I not get this one.
0 -> (0
a -> (a
 a -> ( a)

????






> - inserting a '(' then removing it removes ')' if it was inserted
>
> These features have been pair programmed with Tim Mackinnon during the  
> Pharo sprint at Smalltalks'09, Buenos Aires
> -=-=-=-=-=-=-=-=-=
>
> Let us know whether you are happy or not with these improvements.
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: New version of OCompletion

Alexandre Bergel
>> - inserting a '(' before an alphanumeric character does not insert a
>> ')'.
> I not get this one.
> 0 -> (0
> a -> (a
> a -> ( a)


If the caret is on a letter or a number, then you do not get the  
completion. I think I was inspired by XCode.
This is a behavior that looks okay to me. But I remain open to  
suggestion.

Cheers,
Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project