[squeak-dev] The Trunk: Collections-nice.191.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Nov 16 11:16:19 UTC 2009


Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.191.mcz

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

Name: Collections-nice.191
Author: nice
Time: 16 November 2009, 12:16:11 pm
UUID: 9688bec6-3f23-d448-b642-f55d8fa6f425
Ancestors: Collections-ul.190

Add a crlf utility to CharacterSet.
This will provide better support for different lineEndConventions.

=============== Diff against Collections-ul.190 ===============

Item was changed:
  Collection subclass: #CharacterSet
  	instanceVariableNames: 'map'
+ 	classVariableNames: 'CrLf'
- 	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'Collections-Support'!
  
  !CharacterSet commentStamp: '<historical>' prior: 0!
  A set of characters.  Lookups for inclusion are very fast.!

Item was added:
+ ----- Method: CharacterSet class>>crlf (in category 'accessing') -----
+ crlf
+ 	CrLf ifNil: [CrLf := self with: Character cr with: Character lf].
+ 	^CrLf!




More information about the Squeak-dev mailing list