Hello all, I remarked that the package CollectionExtensions is missing in Pharo 2.0. We are using a useful method provided by the package on strings that provides character intervals for line numbers in a string. Here is the code from 1.4:
intervalOfLine: aLineNumber "Answer an interval spanning between the first and the last character of the line from aLineNumber" | lineIndex | lineIndex := 0. self lineIndicesDo: [ :start :endWithoutDelimiters :end | lineIndex := lineIndex + 1. lineIndex = aLineNumber ifTrue: [ ^ start to: end ] ]. ^ 0 to: 0 Now, this method is missing in Pharo 2.0. Is there a particular reason for omitting the package? Is there a replacement for the pckage? tx, Usman
