links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 8:42 pm UTC on 13 June 2018
A workhorse for displaying and editing text in Morphic [1]. It wraps a TextMorph. It does quite a bit more than a basic TextMorph... it supports scrolling, and text menu operations, etc.

It was originally created to be the Morphic equivalent of the PluggableTextView class from MVC.
A Workspace window in Morphic will contain a PluggableTextMorph, while a Workspace window in MVC will contain a PluggableTextView. They both use Workspace as a Model.

Object hierarchy: (Squeak 6.0a)
 MorphicModel #('model' 'slotName' 'open')
    ScrollPane #('scrollBar' 'scroller' 'retractableScrollBar' 'scrollBarOnLeft' 'getMenuSelector' 'getMenuTitleSelector' 'hasFocus' 
                 'hScrollBar' 'hScrollBarPolicy' 'vScrollBarPolicy' 'scrollBarThickness')
        PluggableTextMorph #('textMorph' 'getTextSelector' 'setTextSelector' 'getSelectionSelector' 'hasUnacceptedEdits' 
                             'askBeforeDiscardingEdits' 'selectionInterval' 'hasEditingConflicts' 'editTextSelector' 'wantsWrapBorder')

PluggableTextMorph questions

See also:

[1] Editing does not work in Squeak 3.10.2 but for example in Squeak 5.2