[squeak-dev] The Inbox: HelpSystem-Core-ct.133.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Sep 17 11:39:17 UTC 2020


A new version of HelpSystem-Core was added to project The Inbox:
http://source.squeak.org/inbox/HelpSystem-Core-ct.133.mcz

==================== Summary ====================

Name: HelpSystem-Core-ct.133
Author: ct
Time: 17 September 2020, 1:39:15.362813 pm
UUID: ccf30c3d-f0c8-584b-8c04-51e436bad97c
Ancestors: HelpSystem-Core-mt.119

Adds HelpBrowser class >> #on: for conveniently instantiating but not opening a HelpBrowser.

=============== Diff against HelpSystem-Core-mt.119 ===============

Item was added:
+ ----- Method: HelpBrowser class>>on: (in category 'instance creation') -----
+ on: aHelpTopic
+ 
+ 	^ self defaultHelpBrowser new
+ 		rootTopic: aHelpTopic;
+ 		yourself!

Item was changed:
  ----- Method: HelpBrowser class>>openOn: (in category 'instance creation') -----
  openOn: aHelpTopic
+ 	"Open the receiver on the given help topic or any other object that can be transformed into
+ 	a help topic by sending #asHelpTopic."
+ 
+ 	^ (self on: aHelpTopic) open!
-         "Open the receiver on the given help topic or any other object that can be transformed into
-          a help topic by sending #asHelpTopic."
-         
-         ^(self defaultHelpBrowser new)
-                 rootTopic: aHelpTopic;
-                 open!



More information about the Squeak-dev mailing list