[squeak-dev] The Inbox: Tools-kfr.1161.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Jun 4 18:13:58 UTC 2022
A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/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
|