[Pharo-dev] self item returns a string

Stéphane Ducasse stephane.ducasse at inria.fr
Wed Dec 11 05:05:02 EST 2013


On Dec 11, 2013, at 10:31 AM, Benjamin <Benjamin.VanRyseghem.Pharo at gmail.com> wrote:

> Sorry but I wrote part of this code 3 years ago, so I really do not remember :(

No problem. 
We tried during 30 min with pavel but failed. We should have a look again.

Stef
> 
> Ben
> 
> On 11 Dec 2013, at 09:51, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
> 
>> Hi ben
>> 
>> Im trying to fix the problem of the finder putting too many string around the arguments.
>> if you type 'a' . 'b' . 'ab' and example
>> you will get '''a''' . '''b''' 
>> 
>> so I found that 
>> 
>> displayString
>> 
>> 	self halt.
>> 	^ self item asString
>> 
>> self item returns a byteString and item is not redefined in FinderNode
>> 
>> I tried to change it to 
>> 
>> displayString
>> 
>> 
>> 	^ self item 
>> 
>> but self item is already '''a ''''
>> 
>> the item on the node is already a '''a''''….
>> 
>> So I tried to check how the node were populated but I could not get childrenItems to work.
>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131211/1c86f107/attachment-0002.html>


More information about the Pharo-dev mailing list