On Fri, Apr 29, 2011 at 4:18 PM, Markus Schlager <[email protected]> wrote:
> Hi all, > > I'm teaching smalltalk to my pupils using a ProfStef-tutorial ( > http://www.lsh-marquartstein.de/schule/unterricht/faecher/informatik/unterrichtsmaterial/info10/smalltalk/MS-info10-ProfStef-MarkusSchlager.mcz/view > ). > > Currently we're using pharo 1.1. In pharo 1.2 ProfStefBrowser obviously got > replaced by another HelpBrowser. (What you get with Help->ProfStef > Tutorials). > Yes I removed ProfStefBrowser because it was not maintained anymore and didn't have the courage to fix it. HelpBrowser was here and interfacing it with ProfStef was almost free so.... I'm missing two things: > > - syntax-highlighting: Is there any way, I can activate this easily? > Torsten, is it possible to activate syntax-highlighting for an HelpSystem book ? > - navigation-buttons and page-counter (at the moment, my tutorial has about > 60 pages): any chance to get these back? I think this may be useful for all HelpSystem books.... Torsten, what do you think ? Indeed, to create a navigator just evaluate: DockingBarMorph new addMorph: (UITheme builder newButtonFor: ProfStef action: #last label: '>>' help: 'Last lesson'); addMorph: (UITheme builder newButtonFor: ProfStef action: #next label: '>' help: 'Next lesson'); addMorph:(UITheme builder newButtonFor: ProfStef action: #previous label: '<' help: 'Previous lesson'); addMorph: (UITheme builder newButtonFor: ProfStef action: #first label: '<<' help: 'First lesson'); addMorph: (UITheme builder newLabel: 'ProfStef navigator'); adhereTo: #top; color: (Color white alpha: 0.4); borderWidth: 0; openInWorld. Should be fun to have it in the tutorial :) Laurent. > Markus > >
