[Pharo-project] update to OCompletion
Hi All, I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz the changes are: -incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now. -delayed the switch to eCompletion's completion algorithm, hence the slowdown when using the down arrow happens only after the third time pressing it (after OCompletion's all of OCompletion's menu items). Cheers, Romain -- Romain Robbes http://romain.robb.es rrobbes@dcc.uchile.cl
Excellent! Alexandre On 3 Aug 2010, at 00:38, Romain Robbes wrote:
Hi All,
I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz
the changes are:
-incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now. -delayed the switch to eCompletion's completion algorithm, hence the slowdown when using the down arrow happens only after the third time pressing it (after OCompletion's all of OCompletion's menu items).
Cheers, Romain
-- Romain Robbes http://romain.robb.es rrobbes@dcc.uchile.cl
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Mon, 2 Aug 2010, Romain Robbes wrote:
Hi All,
I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz
the changes are:
-incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now. -delayed the switch to eCompletion's completion algorithm, hence the slowdown when using the down arrow happens only after the third time pressing it (after OCompletion's all of OCompletion's menu items).
Cool. Does it work in Squeak? Levente
Cheers, Romain
-- Romain Robbes http://romain.robb.es rrobbes@dcc.uchile.cl
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hi, On 3 Aug 2010, at 00:38, Romain Robbes wrote:
Hi All,
I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz
the changes are:
-incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now. -delayed the switch to eCompletion's completion algorithm, hence the slowdown when using the down arrow happens only after the third time pressing it (after OCompletion's all of OCompletion's menu items).
Fantastic! This greatly improves usability. Actually, you must have changed something else too because when I hit the third time the down arrow, it is significantly faster than before. It was sometimes the case that the image would hang for even tens of seconds, but now everything is pretty snappy. Cheers, Doru
Cheers, Romain
-- Romain Robbes http://romain.robb.es rrobbes@dcc.uchile.cl
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- www.tudorgirba.com "There are no old things, there are only old ways of looking at them."
This greatly improves usability. Actually, you must have changed something else too because when I hit the third time the down arrow, it is significantly faster than before. It was sometimes the case that the image would hang for even tens of seconds, but now everything is pretty snappy.
Yes, it has something to do with preferences. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
thanks romain (and sorry for my stupid suggestion - good that you corrected it) Your tools are really important. Is there a ConfigurationOfOCompletion or just loading OCompletion works?
Hi All,
I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz
the changes are:
-incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now. -delayed the switch to eCompletion's completion algorithm, hence the slowdown when using the down arrow happens only after the third time pressing it (after OCompletion's all of OCompletion's menu items).
Cheers, Romain
-- Romain Robbes http://romain.robb.es rrobbes@dcc.uchile.cl
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
there is. I did it the first time we build PharoDev with metacello On Tue, Aug 3, 2010 at 11:20 AM, Stéphane Ducasse <stephane.ducasse@inria.fr
wrote:
thanks romain (and sorry for my stupid suggestion - good that you corrected it) Your tools are really important. Is there a ConfigurationOfOCompletion or just loading OCompletion works?
Hi All,
I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz
the changes are:
-incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now. -delayed the switch to eCompletion's completion algorithm, hence the slowdown when using the down arrow happens only after the third time pressing it (after OCompletion's all of OCompletion's menu items).
Cheers, Romain
-- Romain Robbes http://romain.robb.es rrobbes@dcc.uchile.cl
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
If the eCompletion tweaks look good from Lucas' point of view - they also apply to oCompletion as well - however I noticed that there seem to be a few additional bugs in oCompletion (at least compared to eCompletion). 1) If you hilite an expresion and press ) - in eCompletion it surrounds that selection with the matching characters, OC doesn't seem to 2) If you type [ - you get [], but then when you press backspace it removes the [] as well as an additional character before the [ - which is not ideal (again eCompletion doesn't do that) Should I log a bug for these? On 2 Aug 2010, at 23:38, Romain Robbes wrote:
Hi All,
I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz
the changes are:
-incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now. -delayed the switch to eCompletion's completion algorithm, hence the slowdown when using the down arrow happens only after the third time pressing it (after OCompletion's all of OCompletion's menu items).
Cheers, Romain
-- Romain Robbes http://romain.robb.es rrobbes@dcc.uchile.cl
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Actually correction on #1 - eCompletion suffers from that one as well - I'm sure they should both be able to surround a selection with characters no matter which side of the selection you are on. Tim On 4 Aug 2010, at 01:28, Tim Mackinnon wrote:
If the eCompletion tweaks look good from Lucas' point of view - they also apply to oCompletion as well - however I noticed that there seem to be a few additional bugs in oCompletion (at least compared to eCompletion).
1) If you hilite an expresion and press ) - in eCompletion it surrounds that selection with the matching characters, OC doesn't seem to 2) If you type [ - you get [], but then when you press backspace it removes the [] as well as an additional character before the [ - which is not ideal (again eCompletion doesn't do that)
Should I log a bug for these?
On 2 Aug 2010, at 23:38, Romain Robbes wrote:
Hi All,
I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz
the changes are:
-incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now. -delayed the switch to eCompletion's completion algorithm, hence the slowdown when using the down arrow happens only after the third time pressing it (after OCompletion's all of OCompletion's menu items).
Cheers, Romain
-- Romain Robbes http://romain.robb.es rrobbes@dcc.uchile.cl
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
1) If you hilite an expresion and press ) - in eCompletion it surrounds that selection with the matching characters, OC doesn't seem to
I removed that, because no popular editor I tried does this (Eclipse, TextMate). Lukas
2) If you type [ - you get [], but then when you press backspace it removes the [] as well as an additional character before the [ - which is not ideal (again eCompletion doesn't do that)
Should I log a bug for these?
On 2 Aug 2010, at 23:38, Romain Robbes wrote:
Hi All,
I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz
the changes are:
-incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now. -delayed the switch to eCompletion's completion algorithm, hence the slowdown when using the down arrow happens only after the third time pressing it (after OCompletion's all of OCompletion's menu items).
Cheers, Â Â Â Â Romain
-- Romain Robbes http://romain.robb.es rrobbes@dcc.uchile.cl
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch
participants (8)
-
Alexandre Bergel -
Levente Uzonyi -
Lukas Renggli -
Mariano Martinez Peck -
Romain Robbes -
Stéphane Ducasse -
Tim Mackinnon -
Tudor Girba