[Pharo-users] GLMFormatedPresentation>>format bug?

Ben Coman btc at openinworld.com
Sun May 15 19:00:04 EDT 2016


On Mon, May 16, 2016 at 6:28 AM, Alistair Grant <akgrant0710 at gmail.com> wrote:
> Hi Andrei,
>
> On Mon, May 16, 2016 at 12:08:01AM +0200, Andrei Chis wrote:
>> Hi Alistair,
>>
>> Try something like this. Now 100% sure it will work.
>>
>> gtInspectIn: composite
>>         <gtInspectorPresentationOrder: 30>
>>
>>         ^ composite text
>>                 title: 'Meme';
>>                 format: [self asText].
>>
>> The display block should return the object to be displayed, which is this case
>> is self.
>
> Yep, that fixes the problem!  Thanks for your reply.

Just curious if this also works...

         ^ composite text
                 title: 'Meme';
                 format: #asText

cheers -ben




More information about the Pharo-users mailing list