2013/12/11 Stéphane Ducasse <[email protected]>

>
> On Dec 11, 2013, at 10:31 AM, Benjamin <
> [email protected]> 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 <[email protected]>
> 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.
>
>
>
>
>
printing strings with quotes and doubling this quotes is done in
Finder>>computeWithMethodFinder:

node formattedCode printOn: strm.

replace it with
strm << node formattedCode.

An awful big method btw.


nicolai

Reply via email to