OB-Shout

OBPluggableTextMorphWithShout
An OBPluggableTextMorphWithShout is xxxxxxxxx.
Instance Variables
styler: <Object>
unstyledAcceptText: <Object>
styler
- xxxxx
unstyledAcceptText
- xxxxx
acceptTextInModel
Inform the model that the receiver's textMorph's text should be accepted.
Answer true if the model accepted ok, false otherwise
classOrMetaClass:
set the classOrMetaClass in the receiver's styler to aBehavior
correctFrom:to:with:
see the comment in #acceptTextInModel
environment:
set the environment in the receiver's styler to anObject
font:
hasUnacceptedEdits:
re-implemented to re-style the text iff aBoolean is true
okToStyle
on:text:accept:readSelection:menu:
privateSetText:
setText:
sourceMap:
set the sourceMap in the receiver's styler to aSortedCollection
styler
styler:
stylerStyled:
stylerStyledInBackground:
It is possible that the text string has changed since the styling began. Disregard the styles if styledCopyOfText's string differs with the current textMorph contents string
textMorphClass
Answer the class used to create the receiver's textMorph
workspace:
set the workspace in the receiver's styler to anObject
OBShoutBuilder
An OBShoutBuilder is xxxxxxxxx.
Instance Variables
textMorphClass
OBShoutPlatform
An OBShoutPlatform is xxxxxxxxx.
Instance Variables
builder
initialize
Subclasses should redefine this method to perform initializations on instance creation
OBTextMorphEditorWithShout
An OBTextMorphEditorWithShout is xxxxxxxxx.
Instance Variables
inBackTo: <Object>
inBackTo
- xxxxx
backTo:
When backspacing, 2 notifications of the userHasEdited are received.
This then causes a background process to not terminate correctly.
The reason for all this is uncertain, but discarding the superfluous userHasEdited
message received while running backTo: seems to cure the problem
blinkParen
changeEmphasis:
clearParens
userHasEdited
ignore this if generated during backTo:
See comment in backTo:
OBTextMorphWithShout
An OBTextMorphWithShout is xxxxxxxxx.
Instance Variables
editorClass
Answer the class used to create the receiver's editor
installEditorToReplace:
Install an editor for my paragraph. This constitutes 'hasFocus'.
If priorEditor is not nil, then initialize the new editor from its state.
We may want to rework this so it actually uses the prior editor.