[squeak-dev] The Trunk: Tools-kfr.1161.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jun 22 13:16:18 UTC 2022


Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-kfr.1161.mcz

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

Name: Tools-kfr.1161
Author: kfr
Time: 4 June 2022, 8:13:54.520458 pm
UUID: 8880e2ae-b1d5-ad46-8d3b-27d99549220a
Ancestors: Tools-ct.1160

Open a HelpBrowser with TextLink.
Example:
TerseGuideHelp Help
Select text, press Alt+5 (CMD on Mac) and select 'Link to help on class'
(A link of this format: 'My Link<TerseGuideHelp Help>' will hide the part between < & > )

Dependent on Collections-kfr.1011

=============== Diff against Tools-ct.1160 ===============

Item was changed:
  ----- Method: Model>>addItem: (in category '*Tools') -----
  addItem: classAndMethod
  	"Open a browser directly on the given class and method
  	
  	Model new addItem: 'Model addItem:'
  	Model new addItem: 'Model>>addItem:'
  	"
  	
  	self flag: #mref.	"classAndMethod is a String"
  	MessageSet 
  		parse: classAndMethod  
  		toClassAndSelector: [ :class :sel |
  			class ifNil: [^self].
  			sel = #Comment ifTrue: [^ Browser fullOnClassComment: class].
  			sel = #Definition ifTrue: [^ Browser newOnClass: class].
  			sel = #Hierarchy ifTrue: [^ HierarchyBrowser fullOnClass: class].
+ 			sel = #Help ifTrue: [^HelpBrowser openOn: class].
  			Browser newOnClass: class selector: sel
  		]
  
  !



More information about the Squeak-dev mailing list