The Trunk: Collections-nice.191.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Collections-nice.191.mcz

commits-2
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!