StringCollection.st
branchjv
changeset 17841 7abcc4aef871
parent 17761 b0e5971141bc
child 17845 7e0cfaac936d
equal deleted inserted replaced
17840:a9bb0978dd43 17841:7abcc4aef871
   310 
   310 
   311 encoding
   311 encoding
   312     self do:[:l | l notNil ifTrue:[^ l encoding]].
   312     self do:[:l | l notNil ifTrue:[^ l encoding]].
   313     "/ sigh
   313     "/ sigh
   314     ^ #'unicode'
   314     ^ #'unicode'
       
   315 !
       
   316 
       
   317 stringSize
       
   318     ^ self inject:0 into:[:sizeSoFar :eachLine | 
       
   319             sizeSoFar + eachLine size + 1
       
   320         ]
   315 ! !
   321 ! !
   316 
   322 
   317 !StringCollection methodsFor:'searching'!
   323 !StringCollection methodsFor:'searching'!
   318 
   324 
   319 indexOfLineStartingWith:aString
   325 indexOfLineStartingWith:aString
   399 ! !
   405 ! !
   400 
   406 
   401 !StringCollection class methodsFor:'documentation'!
   407 !StringCollection class methodsFor:'documentation'!
   402 
   408 
   403 version
   409 version
   404     ^ '$Id: StringCollection.st 10517 2010-04-26 18:26:38Z vranyj1 $'
   410     ^ '$Id: StringCollection.st 10643 2011-06-08 21:53:07Z vranyj1 $'
   405 !
   411 !
   406 
   412 
   407 version_SVN
   413 version_SVN
   408     ^ '$Id: StringCollection.st 10517 2010-04-26 18:26:38Z vranyj1 $'
   414     ^ '$Id: StringCollection.st 10643 2011-06-08 21:53:07Z vranyj1 $'
   409 ! !
   415 !
       
   416 
       
   417 version_CVS
       
   418     ^ 'Header: /cvs/stx/stx/libbasic/StringCollection.st,v 1.41 2011/04/11 09:17:14 stefan Exp '
       
   419 ! !
       
   420