Status: Accepted
Owner:
[hidden email]
CC:
[hidden email],
[hidden email]
Labels: Milestone-1.2
New issue 3556 by
[hidden email]:
PluggableTextMorph(Object)>>doesNotUnderstand: #stylerStyled:
http://code.google.com/p/pharo/issues/detail?id=3556Can somebody try by defining these methods
!PluggableTextMorph methodsFor: 'zork' stamp: 'BenjaminVanRyseghem
11/25/2010 15:35'!
stylerStyled: styledCopyOfText
textMorph contents runs: styledCopyOfText runs .
"textMorph paragraph recomposeFrom: 1 to: textMorph contents size delta:
0." "caused chars to appear in wrong order esp. in demo mode. remove
this line when sure it is fixed"
textMorph updateFromParagraph.
selectionInterval
ifNotNil:[
textMorph editor
selectInvisiblyFrom: selectionInterval first to: selectionInterval last;
storeSelectionInParagraph;
setEmphasisHere].
textMorph editor blinkParen.
self scrollSelectionIntoView
! !
!PluggableTextMorph methodsFor: 'zork' stamp: 'BenjaminVanRyseghem
11/25/2010 15:35'!
stylerStyledInBackground: styledCopyOfText
"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"
textMorph contents string = styledCopyOfText string
ifTrue: [self stylerStyled: styledCopyOfText]! !
I think that we found a bug in MC since the category where named: 'shout'
(not with * so that the changes do not belong to the package of shout but
really the one of PluggableTextMorph.
On Jan 19, 2011, at 10:34 PM, Stéphane Ducasse wrote:
PluggableTextMorph(Object)>>doesNotUnderstand: #stylerStyled:
this is probably with a MC problem because in
Issue 3486: PluggableTextMorph should be able to support text styling
we payed attention to have it.
http://code.google.com/p/pharo/issues/detail?id=3486Benjamin can you have a look?