extensions.st
changeset 10851 26a08a701fde
parent 10839 bcd731f66877
child 10859 38ebf3f1299e
equal deleted inserted replaced
10850:9c6984507740 10851:26a08a701fde
   209     "Modified: / 21-08-2011 / 07:32:57 / cg"
   209     "Modified: / 21-08-2011 / 07:32:57 / cg"
   210 ! !
   210 ! !
   211 
   211 
   212 !CharacterArray methodsFor:'inspecting'!
   212 !CharacterArray methodsFor:'inspecting'!
   213 
   213 
       
   214 inspector2TabHTML
       
   215 
       
   216     ^self newInspector2Tab
       
   217         label: 'HTML';
       
   218         priority: 35;
       
   219         view: ((ScrollableView for:HTMLDocumentView) setText: self; yourself)
       
   220 
       
   221     "Created: / 17-02-2008 / 10:10:50 / janfrog"
       
   222     "Created: / 07-11-2011 / 12:35:15 / cg"
       
   223 ! !
       
   224 
       
   225 !CharacterArray methodsFor:'inspecting'!
       
   226 
   214 inspector2TabText
   227 inspector2TabText
   215 
   228 
   216     ^self newInspector2Tab
   229     ^self newInspector2Tab
   217         label: 'String';
   230         label: 'String';
   218         priority: 50;
   231         priority: 50;
   223 ! !
   236 ! !
   224 
   237 
   225 !CharacterArray methodsFor:'inspecting'!
   238 !CharacterArray methodsFor:'inspecting'!
   226 
   239 
   227 inspector2Tabs
   240 inspector2Tabs
       
   241     HTMLDocumentView notNil ifTrue:[
       
   242         (self startsWith:'<!!DOCTYPE html') ifTrue:[
       
   243             ^ #( inspector2TabCommon inspector2TabText inspector2TabBytes inspector2TabHTML )
       
   244         ].
       
   245     ].
   228     ^ #( inspector2TabCommon inspector2TabText inspector2TabBytes )
   246     ^ #( inspector2TabCommon inspector2TabText inspector2TabBytes )
   229 
   247 
   230     "Created: / 05-07-2011 / 13:40:27 / cg"
   248     "Created: / 05-07-2011 / 13:40:27 / cg"
   231 ! !
   249 ! !
   232 
   250 
  1784 ! !
  1802 ! !
  1785 
  1803 
  1786 !stx_libtool class methodsFor:'documentation'!
  1804 !stx_libtool class methodsFor:'documentation'!
  1787 
  1805 
  1788 extensionsVersion_CVS
  1806 extensionsVersion_CVS
  1789     ^ '$Header: /cvs/stx/stx/libtool/extensions.st,v 1.66 2011-10-19 22:51:17 cg Exp $'
  1807     ^ '$Header: /cvs/stx/stx/libtool/extensions.st,v 1.67 2011-11-07 11:37:53 cg Exp $'
  1790 ! !
  1808 ! !