The old lines methods was part of Nicolas' effort to provide an api that handled all kinds of lineEndings though.

I'd rather it be restored to the original:
lines
    "Answer an array of lines composing this receiver without the line ending delimiters"
    ^Array new: (self size // 60 max: 16)
            streamContents: [:lines | self linesDo: [:aLine | lines nextPut: aLine]]

Cheers,
Henry

Den 26.08.2010 12:48, skrev Marcus Denker:

On Aug 26, 2010, at 5:45 AM, Guillermo Polito wrote:

When you right click over the category panel and the method category panel in the system browser.

ByteString DNU lines



If you add 

lines
^self findTokens: String cr

to String it works again... I guess that got somehow lost.

I will add a bug tracker entry.

Marcus


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.

_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project