<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Georgia">Try this:<br>
      <br>
      'From Squeak4.4 of 1 March 2013 [latest update: #12489] on 25 July
      2013 at 1:09:32 pm'!<br>
      <br>
      !PluggableTextMorphPlus methodsFor: 'styling' stamp: 'raa
      7/25/2013 13:09'!<br>
      stylerStyled: styledCopyOfText<br>
          "Sent after the styler completed styling the underlying text"<br>
          textMorph contents runs: styledCopyOfText runs .<br>
          "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"<br>
          textMorph paragraph composeAll.    "&lt;---- added this"<br>
          textMorph updateFromParagraph.<br>
          selectionInterval <br>
              ifNotNil:[<br>
                  textMorph editor<br>
                      selectInvisiblyFrom: selectionInterval first to:
      selectionInterval last;<br>
                      storeSelectionInParagraph;<br>
                      setEmphasisHere].<br>
          textMorph editor blinkParen.<br>
          self scrollSelectionIntoView! !<br>
      <br>
      Cheers,<br>
      Bob<br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 7/25/13 12:02 PM, Chris Muller
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANzdToEMD7U5CyfUQzfe7jFdHxiyGtVshDq5BESNPBmQGQYFcA@mail.gmail.com"
      type="cite">
      <pre wrap="">This has been a very annoying bug for years and it still bites me
every single day.  It seems to be related to incorrect calculation of
the width of bold text.  If anyone knows how to fix this, I would be
very grateful.

On Wed, Jul 24, 2013 at 4:17 PM, Frank Shearar <a class="moz-txt-link-rfc2396E" href="mailto:frank.shearar@gmail.com">&lt;frank.shearar@gmail.com&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I just noticed this in the dependency browser. Note the right end of
the top line, and the left part of the next line. The "withStamp:" is
my favourite, where we have half a word normal+blue, and the other
half black+bold. The bug disappears as soon as I widen the codepane.

I can't reproduce the bug by narrowing the codepane though: the text
correctly word-wraps.

(Duly reported as <a class="moz-txt-link-freetext" href="http://bugs.squeak.org/view.php?id=7781">http://bugs.squeak.org/view.php?id=7781</a>)

frank



</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    <br>
  </body>
</html>