DNU after updating 1.2 core image

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

DNU after updating 1.2 core image

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

ByteString DNU lines

Guille

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: DNU after updating 1.2 core image

Marcus Denker-4

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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: DNU after updating 1.2 core image

Henrik Sperre Johansen
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 [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project