Petals a pragma approach for registering key shortcuts in context? Sent from my iPad
On 2 Jul 2010, at 06:12 PM, Stéphane Ducasse <[email protected]> wrote: > Dave > > I did that more than 5 years ago and it was a nightmare. > I would really like to have a clean room implementation so that we can plug > on instance editor potentially different keybinding. > > So yes if somebody want to play with that it would be great. > > > Note that by using an instance variable pointing to a classVar, and only have > the method referencing the instance variable > we can get a shared table with possible per instance specialization to > optimise space. > > > Stef > > On Jul 2, 2010, at 6:59 PM, Dave Woodward wrote: > >> On 07/02/2010 03:16 AM, laurent laffont wrote: >>> Hi, >>> >>> I would like to add a keyboard shortcut in SystemBrowser to trigger >>> Autotest as it's tedious to add/remove a space + accept a method to trigger >>> it. >>> >>> I cannot find how I should do this. Ideally this would be an Autotest class >>> extension. >> >> I just recently hacked up ParagraphEditor locally to add Emacs-like cursor >> navigation for the code editor. > > I would love that :) > >> It has two class side initialization methods which setup callback to some >> instance side methods. This was in Pharo 1.0, I don't know about 1.1 or >> 1.2. I also don't know how you'd make the shortcuts cleanly extensible >> (seems like it might be a good small project?). >>> >>> Cheers, >>> >>> Laurent Laffont >>> >>> http://pharocasts.blogspot.com/ >>> http://magaloma.blogspot.com/ >>> >>> _______________________________________________ >>> Pharo-project mailing list >>> >>> [email protected] >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> >> -- >> Dave Woodward >> ................................................... >> >> www.promedmedical.net >> >> 317.332.6438 >> >> [email protected] >> >> >> _______________________________________________ >> Pharo-project mailing list >> [email protected] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
