[Newbies] How to create a TextMorph with Text containing links

Christian Kellermann ckeen at pestilenz.org
Sat Sep 15 15:05:32 UTC 2018


* Christian Kellermann <ckeen at pestilenz.org> [180915 16:59]:
> * Ben Coman <btc at openinworld.com> [180915 02:46]:
> > Here is something I recently did in Pharo.  I expect these parts of the
> > systems are very similar.
> 
> Ah thanks that's been the nudge in the right direction! I am using
> a PluggableTextAttribute now which also allows specifying a block...
> 
> I am hitting another bunp in that it seems just adding a TextMorph
> to a SystemWindow -> ScrollPane -> PasteUpMorph.  (-> meaning
> 'containing a') does not make it scrollable...
> 
> Should I compose the content of individual TextMorphs? Or am I
> missing something obvious?

Ah nvm, I had something like this:

scrollPane := ScrollPane new
  scroller addMorph: pasteUpMorph.
which is sending the message to the wrong receiver it seems :)

-- 
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20180915/123e9be2/attachment.sig>


More information about the Beginners mailing list