[squeak-dev] The Trunk: Tools-mt.1018.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Wed Dec 9 15:33:01 UTC 2020


Hmm... we could show the character code in either the field list or the value pane .. what do you prefer?


Am 09.12.2020 16:22:54 schrieb commits at source.squeak.org <commits at source.squeak.org>:
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.1018.mcz

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

Name: Tools-mt.1018
Author: mt
Time: 9 December 2020, 4:22:42.675366 pm
UUID: 97109dc8-cea7-45fd-ace9-833fcbec96a4
Ancestors: Tools-eem.1017

Adds a simple (but working) inspector for CharacterSet.

=============== Diff against Tools-eem.1017 ===============

Item was added:
+ ----- Method: CharacterSet>>inspectorClass (in category '*Tools-Inspector') -----
+ inspectorClass
+
+ ^ CharacterSetInspector!

Item was added:
+ CollectionInspector subclass: #CharacterSetInspector
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'Tools-Inspector'!

Item was added:
+ ----- Method: CharacterSetInspector>>canAddOrRemoveElements (in category 'private') -----
+ canAddOrRemoveElements
+
+ ^ false!

Item was added:
+ ----- Method: CharacterSetInspector>>elementGetterAt: (in category 'private') -----
+ elementGetterAt: element
+
+ ^ [:set | element]!

Item was added:
+ ----- Method: CharacterSetInspector>>elementIndices (in category 'private') -----
+ elementIndices
+
+ ^ self object canBeEnumerated
+ ifTrue: [self object asArray]
+ ifFalse: [#()]!

Item was added:
+ ----- Method: CharacterSetInspector>>elementSetterAt: (in category 'private') -----
+ elementSetterAt: index
+
+ ^ [:set :element | self error: 'Character sets cannot be changed.']!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201209/a15e82ab/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 54904 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201209/a15e82ab/attachment.png>


More information about the Squeak-dev mailing list