[squeak-dev] The Trunk: HelpSystem-Core-mt.119.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Thu Feb 13 14:03:51 UTC 2020


> Thanks also for providing the graphic as a link, it's much easier
for me to see this way.

I think that happened because I posted through nabble. 

> p.s. Welcome back :-)

Thanks :-)

Best,
Marcel
Am 13.02.2020 14:38:42 schrieb David T. Lewis <lewis at mail.msen.com>:
Thanks, it looks good.

Thanks also for providing the graphic as a link, it's much easier
for me to see this way.

Dave

p.s. Welcome back :-)

On Thu, Feb 13, 2020 at 07:29:36AM -0600, marcel.taeumel wrote:
>
>
>
> commits-2 wrote
> > Marcel Taeumel uploaded a new version of HelpSystem-Core to project The
> > Trunk:
> > http://source.squeak.org/trunk/HelpSystem-Core-mt.119.mcz
> >
> > ==================== Summary ====================
> >
> > Name: HelpSystem-Core-mt.119
> > Author: mt
> > Time: 13 February 2020, 2:25:35.668714 pm
> > UUID: df92a1e9-bfbe-584c-83b8-afb5bec801a7
> > Ancestors: HelpSystem-Core-mt.118
> >
> > Fixes window title for help browsers to behave like other browsers, i.e.,
> > the system (code) browser. Makes window listing more useful. See
> > screenshot.
> >
> > =============== Diff against HelpSystem-Core-mt.118 ===============
> >
> > Item was changed:
> > ----- Method: HelpBrowser>>buildTreeWith: (in category 'toolbuilder')
> > -----
> > buildTreeWith: builder
> >
> > ^ builder pluggableTreeSpec new
> > model: self;
> > nodeClass: HelpTopicListItemWrapper;
> > roots: #toplevelTopics;
> > getSelected: #currentTopic;
> > setSelected: #currentTopic:;
> > getSelectedPath: #currentTopicPath;
> > + setSelectedPath: #noteTopicPath:;
> > setSelectedParent: #currentParentTopic:;
> > autoDeselect: false;
> > frame: (LayoutFrame
> > fractions: (0 at 0 corner: 0.3 at 1)
> > offsets: (0@ (Preferences standardDefaultTextFont height * 2) corner:
> > 0 at 0));
> > yourself!
> >
> > Item was changed:
> > ----- Method: HelpBrowser>>currentTopicPath (in category 'accessing')
> > -----
> > currentTopicPath
> > - "Only used for dynamic dispatch. Should be nil or empty on manual
> > evaluation. See #topic:."
> >
> > ^ topicPath ifNil: [#()]!
> >
> > Item was added:
> > + ----- Method: HelpBrowser>>noteTopicPath: (in category 'accessing')
> > -----
> > + noteTopicPath: someTopics
> > + "Keep track of the current topic path as reported by the view through
> > manual selection."
> > +
> > + topicPath := someTopics.
> > + self changed: #windowTitle.
> > + !
> >
> > Item was changed:
> > ----- Method: HelpBrowser>>windowTitle (in category 'accessing - ui')
> > -----
> > windowTitle
> >
> > + ^ '{1}: {2}' format: {
> > + self rootTopic
> > + ifNil: ['Help Browser' translated]
> > + ifNotNil: [:topic | topic title].
> > + (self currentTopicPath collect: [:topic | topic title])
> > + reversed joinSeparatedBy: ' > '}!
> > - ^ self rootTopic
> > - ifNil: ['Help Browser']
> > - ifNotNil: [:topic | topic title]!
>
>
>
>
>
> --
> Sent from: http://forum.world.st/Squeak-Dev-f45488.html
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200213/07b113ee/attachment.html>


More information about the Squeak-dev mailing list