[squeak-dev] The Trunk: Multilingual-cmm.106.mcz

Alexander Lazarević laza at blobworks.com
Tue Mar 23 19:41:42 UTC 2010


And how about those?

SystemNavigation default browseMethodsWithSourceString: ' _ '

Alex

On Tue, Mar 23, 2010 at 20:28, karl ramberg <karlramberg at gmail.com> wrote:

> Small nit,
> shouldn't the assigment be := ?
>
> Karl
>
> On Tue, Mar 23, 2010 at 7:09 PM,  <commits at source.squeak.org> wrote:
> > Chris Muller uploaded a new version of Multilingual to project The Trunk:
> > http://source.squeak.org/trunk/Multilingual-cmm.106.mcz
> >
> > ==================== Summary ====================
> >
> > Name: Multilingual-cmm.106
> > Author: cmm
> > Time: 23 March 2010, 2:07:45.842 pm
> > UUID: 5df01747-88b8-4df7-80ad-dd2d3d263a04
> > Ancestors: Multilingual-nice.105
> >
> > Fix for potential stack-overflow when trying to embed a Morph into a
> TextMorph.
> >
> > =============== Diff against Multilingual-nice.105 ===============
> >
> > Item was changed:
> >  ----- Method: MultiCharacterScanner>>placeEmbeddedObject: (in category
> 'scanning') -----
> >  placeEmbeddedObject: anchoredMorph
> >        "Place the anchoredMorph or return false if it cannot be placed.
> >        In any event, advance destX by its width."
> >        | w |
> >        "Workaround: The following should really use #textAnchorType"
> >        anchoredMorph relativeTextAnchorPosition ifNotNil:[^true].
> > +       destX _ destX + (w _ anchoredMorph width).
> > -       destX := destX + (w := anchoredMorph width).
> >        (destX > rightMargin and: [(leftMargin + w) <= rightMargin])
> >                ifTrue: ["Won't fit, but would on next line"
> >                                ^ false].
> > +       lastIndex _ lastIndex + 1.
> > +       "self setFont."  "Force recalculation of emphasis for next run"
> > -       lastIndex := lastIndex + 1.
> > -       self setFont.  "Force recalculation of emphasis for next run"
> >        ^ true!
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100323/a5f2c621/attachment.htm


More information about the Squeak-dev mailing list