Added missing CharacterArray>>inspector2TabBytes
authorvrany
Wed, 20 Jul 2011 17:46:13 +0200
changeset 10355 82ee4e550517
parent 10354 6c6417ad1407
child 10356 19c1203f85ca
Added missing CharacterArray>>inspector2TabBytes
extensions.st
--- a/extensions.st	Wed Jul 20 17:44:06 2011 +0200
+++ b/extensions.st	Wed Jul 20 17:46:13 2011 +0200
@@ -190,6 +190,20 @@
 
 !CharacterArray methodsFor:'inspecting'!
 
+inspector2TabBytes
+
+    ^self newInspector2Tab
+        label: 'Bytes';
+        priority: 25;
+        view: ((ScrollableView for:TextView) contents: 
+                (self asByteArray hexPrintStringWithSeparator:Character space); yourself)
+
+    "Created: / 17-02-2008 / 10:10:50 / janfrog"
+    "Created: / 20-07-2011 / 16:36:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!CharacterArray methodsFor:'inspecting'!
+
 inspector2TabText
 
     ^self newInspector2Tab
@@ -1505,5 +1519,5 @@
 !stx_libtool class methodsFor:'documentation'!
 
 extensionsVersion_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/extensions.st,v 1.45 2011-07-19 17:01:49 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/extensions.st,v 1.46 2011-07-20 15:46:13 vrany Exp $'
 ! !
\ No newline at end of file