<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 6/24/2024 9:58 AM, Mark Volkmann via Cuis-dev wrote:
    <blockquote
cite="mid:CAFfRWnVL4sCfCSXNEdcL4m5azPDOAtYo4_DRyvh18K7QH4-rgg@mail.gmail.com"
      type="cite">
      <div dir="ltr">As this name implies, this preference only affects
        the way code is displayed, not how it will be saved in a package
        or fileOut. I wish there was a way to actually format the code.</div>
    </blockquote>
    <br>
    While that's true, it is just a matter of saving it again after it
    is displayed. Then, it will be saved exactly as it looks on the
    screen.<br>
    <br>
    Another way is to use #addCodeNormalizer:, that I added just a
    couple of days ago. See the examples in the method comment.<br>
    <br>
    Cheers,<br>
    <br>
    <blockquote
cite="mid:CAFfRWnVL4sCfCSXNEdcL4m5azPDOAtYo4_DRyvh18K7QH4-rgg@mail.gmail.com"
      type="cite"><br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Jun 24, 2024 at
          7:48 AM Mark Volkmann <<a moz-do-not-send="true"
            href="mailto:r.mark.volkmann@gmail.com">r.mark.volkmann@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin: 0px 0px 0px
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div dir="ltr">Yes, entering the following in a Workspace and
            "Do it" works:
            <div><br>
            </div>
            <div><font face="monospace">Preferences at:
                #browseWithPrettyPrint put: true<br>
              </font></div>
            <div><span style="font-size: large;"><br>
              </span></div>
            <div>This seems like something enough people would want to
              enable that it deserves to be directly on the Preferences
              menu that is accessed from the World menu.</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Sun, Jun 23, 2024 at
              5:02 PM Juan Vuletich <<a moz-do-not-send="true"
                href="mailto:juan@cuis.st" target="_blank">juan@cuis.st</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin: 0px 0px 0px
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">
              <div bgcolor="#ffffff"> #browseWithPrettyPrint<br>
                <br>
                On 6/23/2024 1:05 PM, Mark Volkmann via Cuis-dev wrote:
                <blockquote type="cite">
                  <div dir="ltr">I don't see anything related to code
                    formatting or pretty printing on the actual
                    Preferences menu.
                    <div>I clicked "All Preferences..." which opens a
                      Preferences window.</div>
                    <div>In that list the only thing I see that seems
                      related is <font face="monospace">#prettyPrintRectangularBlocks</font>.</div>
                    <div>That is set to <font face="monospace">false</font>.</div>
                    <div>It's not clear that it would do that to
                      method code automatically every time I save a
                      change if I set that to <font face="monospace">true</font>.</div>
                    <div>Is that what I need to change?</div>
                    <div>I would try that, but I haven't discovered a
                      way to change that value to <font
                        face="monospace">true</font>.</div>
                    <div>For example, doing this in the bottom pane of
                      that window doesn't work:</div>
                    <div><br>
                    </div>
                    <div><font face="monospace">self
                        prettyPrintRectangularBlocks: true</font><br>
                    </div>
                  </div>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr" class="gmail_attr">On Sun, Jun 23,
                      2024 at 5:56 AM Hilaire Fernandes via Cuis-dev
                      <<a moz-do-not-send="true"
                        href="mailto:cuis-dev@lists.cuis.st"
                        target="_blank">cuis-dev@lists.cuis.st</a>>
                      wrote:<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin: 0px
                      0px 0px 0.8ex; border-left: 1px solid rgb(204,
                      204, 204); padding-left: 1ex;">
                      <div bgcolor="#FFFFFF">
                        <p><font size="4">Have you checked the
                            preferences?</font><br>
                        </p>
                        <pre cols="72">-- 
GNU Dr. Geo
<a moz-do-not-send="true" href="http://gnu.org/s/dr-geo/" target="_blank">http://gnu.org/s/dr-geo/</a>
<a moz-do-not-send="true" href="http://gnu-drgeo.blogspot.com/" target="_blank">http://gnu-drgeo.blogspot.com/</a></pre>
                      </div>
                      -- <br>
                      Cuis-dev mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Cuis-dev@lists.cuis.st"
                        target="_blank">Cuis-dev@lists.cuis.st</a><br>
                      <a moz-do-not-send="true"
                        href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                        rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
                    </blockquote>
                  </div>
                  <br clear="all">
                  <div><br>
                  </div>
                  <span class="gmail_signature_prefix">-- </span><br>
                  <div dir="ltr" class="gmail_signature">
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div>
                            <div dir="ltr">
                              <div dir="ltr">
                                <div><font face="arial, helvetica,
                                    sans-serif">R. Mark Volkmann</font></div>
                                <div><span style="font-size: 12.8px;"><font
                                      face="arial, helvetica,
                                      sans-serif">Object Computing, Inc.</font></span></div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <br>
                <br>
                <pre cols="72">-- 
Juan Vuletich
<a moz-do-not-send="true" href="http://cuis.st" target="_blank">cuis.st</a>
<a moz-do-not-send="true" href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a>
<a moz-do-not-send="true" href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a>
<a moz-do-not-send="true" href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a>
<a moz-do-not-send="true" href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a>
<a moz-do-not-send="true" href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a>
<a moz-do-not-send="true" href="http://twitter.com/JuanVuletich" target="_blank">twitter.com/JuanVuletich</a></pre>
              </div>
            </blockquote>
          </div>
          <br clear="all">
          <div><br>
          </div>
          <span class="gmail_signature_prefix">-- </span><br>
          <div dir="ltr" class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div dir="ltr">
                        <div><font face="arial, helvetica, sans-serif">R.
                            Mark Volkmann</font></div>
                        <div><span style="font-size: 12.8px;"><font
                              face="arial, helvetica, sans-serif">Object
                              Computing, Inc.</font></span></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><br>
      <div dir="ltr" class="gmail_signature">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div dir="ltr">
                    <div><font face="arial, helvetica, sans-serif">R.
                        Mark Volkmann</font></div>
                    <div><span style="font-size: 12.8px;"><font
                          face="arial, helvetica, sans-serif">Object
                          Computing, Inc.</font></span></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
  </body>
</html>