Can you check if with the fix it works? The rest is not my concern. I need to know to integrate them or not.
Stef On Jan 19, 2011, at 10:55 PM, Alexandre Bergel wrote: > I got bitten by the Shout problem. > But ConfigurationOfMoose automatically loads Petit. Why loading it manually? > > Alexandre > > > On 19 Jan 2011, at 18:49, Stéphane Ducasse wrote: > >> alain >> mentioned that in another thread >> >> >> I've the same problem when I load Moose and/or Petit with the following >> scripts: >> >> Gofer new >> squeaksource: 'Moose'; >> package: 'ConfigurationOfMoose'; >> load. >> (Smalltalk at: #ConfigurationOfMoose) perform: #loadDefault. >> >> Gofer new >> renggli: 'petit'; >> package: 'ConfigurationOfPetitParser'; >> load. >> (Smalltalk at: #ConfigurationOfPetitParser) perform: #loadDefault. >> >> >> >> >> >> On Jan 19, 2011, at 10:43 PM, Alexandre Bergel wrote: >> >>> I do not understand. What can I do to help? >>> >>> Alexandre >>> >>> >>> On 19 Jan 2011, at 18:40, Stéphane Ducasse wrote: >>> >>>> Can 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=3486 >>>>> >>>>> Benjamin can you have a look? >>>>> >>>>> Stef >>>>> >>>> >>>> >>> >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>> >>> >>> >> >> > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > >
