class: SequenceableCollection
authorClaus Gittinger <cg@exept.de>
Thu, 31 May 2018 11:57:12 +0200
changeset 18167 97f8391ddca3
parent 18166 20d62f930706
child 18168 af8bfad1e0a8
class: SequenceableCollection comment/format in: #inspector2TabGraph changed: #inspector2Tabs
extensions.st
--- a/extensions.st	Wed May 30 11:33:41 2018 +0200
+++ b/extensions.st	Thu May 31 11:57:12 2018 +0200
@@ -2323,7 +2323,10 @@
 
     "
      ((RandomGenerator new) next:100 integerBetween:10 and:90) inspect
+     #(10 20 30 40 10 20 30 40) inspect
     "
+
+    "Modified (comment): / 31-05-2018 / 11:29:21 / Claus Gittinger"
 ! !
 
 !SequenceableCollection methodsFor:'inspecting'!
@@ -2337,13 +2340,21 @@
     self isExternalBytes ifFalse:[
         self isString ifFalse:[
             self notEmpty ifTrue:[
-                (self conform:#isNumber) ifTrue:[
+                ((self conform:#isNumber) 
+                or:[(self conform:#isTimeDuration)
+                or:[(self conform:#isTimestamp)]]) ifTrue:[
                     tabs := tabs copyWith:#inspector2TabGraph
                 ]
             ]
         ]
     ].
     ^ tabs
+
+    "
+     #(10 20 30 40 10 20 30 40) inspect
+    "
+
+    "Modified (comment): / 31-05-2018 / 11:26:33 / Claus Gittinger"
 ! !
 
 !Set methodsFor:'misc ui support'!