[Cuis-dev] Morph to just represents paragraphs of text

ken.dickey at whidbey.com ken.dickey at whidbey.com
Sun Oct 31 11:16:37 PDT 2021


On 2021-10-31 04:44, Hilaire Fernandes via Cuis-dev wrote:

> I need a morph to display paragraphs of text, may be with some 
> emphasis, but without any editing capabilities.
..
> TextModelMorph is overkill and it still displays the insertion 
> character when in read only mode, the surrounding frame, etc.

Perhaps a TextDisplayMorph subclass of TextModelMorph.

On init, "super disableEditing" and subtract insert char drawing et al 
with method overrides?

Overkill, but simple solution.

$0.02,
-KenD



More information about the Cuis-dev mailing list