<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Is that a bug fix, or a workaround, I wonder?<br>
    <br>
    Regardless, I'll&nbsp; redo the video but add the caveat that due to an
    existing issue, one needs to add an extra line of code to skip
    printing out methods whose symbol is #Comment.<br>
    <br>
    L.<br>
    <br>
    On 3/2/12 3:57 PM, Bob Arning wrote:
    <blockquote cite="mid:4F515059.1040808@comcast.net" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <font face="Georgia">If you change <br>
        <br>
        MethodReference&gt;&gt;sourceString so that it looks like this:<br>
        <br>
        sourceString<br>
        <br>
        &nbsp;&nbsp;&nbsp; self methodSymbol = #Comment ifTrue: [^self actualClass
        comment].<br>
        &nbsp;&nbsp;&nbsp; ^ (self actualClass sourceCodeAt: self methodSymbol)
        asString<br>
        <br>
        your code will run in Squeak 4.2 and presumably 4.3.<br>
        <br>
        Cheers,<br>
        Bob<br>
      </font><br>
      On 3/2/12 3:57 PM, Lawson English wrote:
      <blockquote cite="mid:4F513436.8090301@cox.net" type="cite">On
        3/2/12 5:55 AM, Nicolas Cellier wrote: <br>
        <blockquote type="cite">Transcript print: ... ; cr; endEntry <br>
        </blockquote>
        myNav := SystemNavigation default. <br>
        (myNav allMethodsWithSourceString: '"' matchCase: false) do: <br>
        &nbsp;&nbsp;&nbsp; [:each| Transcript show: each asString -&gt; ( each&nbsp;
        actualClass <br>
        commentsIn: each sourceString);cr;endEntry ] <br>
        <br>
        Still generates the error MNU:
        ComentReference&gt;&gt;sourceString <br>
        <br>
        On Pharo 1.3 <br>
        <br>
        Still generates the error: MNU: Key not found: Comment <br>
        <br>
        On Squeak 4.3 <br>
        <br>
        <br>
        <br>
        AFTER many hundreds of lines of valid output. <br>
        <br>
        In the same place as before in both images with 2 different VMs.
        <br>
        <br>
        <br>
        <br>
        Are you testing the code you are writing and not seeing the
        error? <br>
        <br>
        L <br>
        <br>
        <br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>