The Trunk: Tools-nice.1037.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Tools-nice.1037.mcz

commits-2
Nicolas Cellier uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-nice.1037.mcz

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

Name: Tools-nice.1037
Author: nice
Time: 13 April 2021, 11:48:06.48889 am
UUID: 8144ec43-bc2a-4145-8d24-e68052041c0c
Ancestors: Tools-eem.1036

Prefer Symbol lookup: to #findInterned:

=============== Diff against Tools-eem.1036 ===============

Item was changed:
  ----- Method: StringHolder>>browseLocalSenders (in category '*Tools') -----
  browseLocalSenders
  self selectedClassOrMetaClass ifNotNil:
  [:cls| | token |
  token := UIManager default request: 'browse for selector or literal'.
  token isEmpty ifTrue: [^self].
  Scanner new
  typedScan: token
  do: [:scannedToken :tokenType|
  token := tokenType = #word
  ifTrue:
+ [(Symbol lookup: token)
- [(Symbol findInterned: token)
  ifNil: [^UIManager default  inform: 'no such selector: ', token]
  ifNotNil: [:symbol| symbol]]
  ifFalse:
  [scannedToken].
  self systemNavigation browseAllCallsOn: token localTo: cls]]!