On Sat, Jan 30, 2010 at 10:59 AM, Danny Chan <chan_...@yahoo.de> wrote:
> Hi Dale > > > In putting together a couple of ProfStef tutorials last weekend, I found > > that I'd like to be able to #goto a lesson (out of sequence), > essentially > > hitting a branch point where the student can skip a set of lessons or > move > > to a different set of lessons. My thought was something like: > > > > ProfStef goto: #lesson15 "jump to lesson15" > > We have now split the GUI changes I did into a separate package > ProfStefBrowser. In this I have something like this > > ProfStefBrowser goto: SmalltalkSyntaxTutorial lessonAt: 3 > > This is used to replace the current lesson when I click in the tutorial > tree. > I just checked, and if I move three methods up the hierarchy, it works > exactly > the same in the ProfStef core. > > Laurent, if you like this, can we move this into ProfStef core? Then people > do > not have to work with a different interface and tutorials written for > ProfStef > will work exactly the same in the GUI browser. > > Danny > Hi, isn't it quite complex ? One can do: 3 timesRepeat: [ProfStef next]. Less to type, Smalltalkish, and maybe more fun ? Laurent
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project