<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8355957">https://bugs.openjdk.org/browse/JDK-8355957</a><br>
    <br>
    -phil.<br>
    <br>
    <div class="moz-cite-prefix">On 4/29/25 2:06 PM, PavelTurk wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:c4b1e8bb-d940-4201-9a7a-21f0dd2fbbeb@gmail.com">
      
      Yes, in JBS. I have no link. The system showed only ID - 9078447.
      The link comes when the issue  is approved.<br>
      <br>
      Best regards, Pavel<br>
      <br>
      <div class="moz-cite-prefix">On 4/30/25 00:02, Andy Goryachev
        wrote:<br>
      </div>
      <blockquote type="cite" cite="mid:BYAPR10MB3013108DE93372E9EE05ACB3E5802@BYAPR10MB3013.namprd10.prod.outlook.com">
        <meta name="Generator" content="Microsoft Word 15 (filtered medium)">
        <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:"Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}@font-face
        {font-family:"Iosevka Fixed SS16";
        panose-1:2 0 5 9 3 0 0 0 0 4;}@font-face
        {font-family:"Times New Roman \(Body CS\)";
        panose-1:2 11 6 4 2 2 2 2 2 4;}@font-face
        {font-family:"\@Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Aptos",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Iosevka Fixed SS16";
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}div.WordSection1
        {page:WordSection1;}</style>
        <div class="WordSection1">
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">In
              JBS?  What's the link?<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">-andy<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
          <div id="mail-editor-reference-message-container">
            <div>
              <div>
                <div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
                  <p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">openjfx-dev <a class="moz-txt-link-rfc2396E" href="mailto:openjfx-dev-retn@openjdk.org" moz-do-not-send="true"><openjfx-dev-retn@openjdk.org></a>
                      on behalf of PavelTurk <a class="moz-txt-link-rfc2396E" href="mailto:pavelturk2000@gmail.com" moz-do-not-send="true"><pavelturk2000@gmail.com></a><br>
                      <b>Date: </b>Tuesday, April 29, 2025 at 13:56<br>
                      <b>To: </b><a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:openjfx-dev@openjdk.org" moz-do-not-send="true">openjfx-dev@openjdk.org</a>
                      <a class="moz-txt-link-rfc2396E" href="mailto:openjfx-dev@openjdk.org" moz-do-not-send="true"><openjfx-dev@openjdk.org></a><br>
                      <b>Subject: </b>Re: RichTextArea: does CodeArea
                      support code folding?<o:p></o:p></span></p>
                </div>
                <p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt">I've just opened an issue
                    about code folding.<br>
                    <br>
                    Best regards, Pavel<o:p></o:p></span></p>
                <div>
                  <p class="MsoNormal"><span style="font-size:12.0pt">On
                      4/29/25 22:52, Andy Goryachev wrote:<o:p></o:p></span></p>
                </div>
                <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                  <div>
                    <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">I do
                        not disagree.</span><o:p></o:p></p>
                    <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""> </span><o:p></o:p></p>
                    <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">-andy</span><o:p></o:p></p>
                    <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""> </span><o:p></o:p></p>
                    <div id="mail-editor-reference-message-container">
                      <div>
                        <div>
                          <div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
                            <p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
                                </span></b><span style="font-size:12.0pt;color:black">openjfx-dev
                                <a href="mailto:openjfx-dev-retn@openjdk.org" moz-do-not-send="true">
                                  <openjfx-dev-retn@openjdk.org></a>
                                on behalf of PavelTurk <a href="mailto:pavelturk2000@gmail.com" moz-do-not-send="true">
                                  <pavelturk2000@gmail.com></a><br>
                                <b>Date: </b>Tuesday, April 29, 2025 at
                                12:47<br>
                                <b>To: </b><a href="mailto:openjfx-dev@openjdk.org" moz-do-not-send="true" class="moz-txt-link-freetext">openjfx-dev@openjdk.org</a>
                                <a href="mailto:openjfx-dev@openjdk.org" moz-do-not-send="true">
                                  <openjfx-dev@openjdk.org></a><br>
                                <b>Subject: </b>Re: RichTextArea: does
                                CodeArea support code folding?</span><o:p></o:p></p>
                          </div>
                          <p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt">I believe the
                              community's interest in this feature can
                              be demonstrated with three simple
                              arguments:<br>
                              <br>
                              1. The amount of code needed to implement
                              what you described is comparable to the
                              size of the existing CodeArea itself.<br>
                              2. This feature already exists in
                              RichTextFX (JavaFX) and RSyntaxTextArea
                              (Swing).<br>
                              3. It’s also present in editors like
                              NetBeans, IntelliJ IDEA, and VS Code.<br>
                              <br>
                              So, I think there’s every reason to add it
                              to JFX CodeArea as well.<br>
                              <br>
                              Best regards, Pavel</span><o:p></o:p></p>
                          <div>
                            <p class="MsoNormal"><span style="font-size:12.0pt">On 4/29/25
                                22:24, Andy Goryachev wrote:</span><o:p></o:p></p>
                          </div>
                          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">Code
                                folding is not currently supported by
                                the CodeArea, at least with the models
                                provided.</span><o:p></o:p></p>
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""> </span><o:p></o:p></p>
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">It
                                might be possible to implement the
                                folding in a custom component, using the
                                following steps:</span><o:p></o:p></p>
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""> </span><o:p></o:p></p>
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">-
                                implement a custom line number component
                                which shows the folding decorations,
                                knows how to get the actual line
                                numbers, and how to handle the
                                fold/unfold events</span><o:p></o:p></p>
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">-
                                implement a model that knows how to
                                fold, and exposes the folding APIs</span><o:p></o:p></p>
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">-
                                modify the behavior of the CodeArea to
                                deal with the folding as required:
                                copy/paste, navigation, etc.</span><o:p></o:p></p>
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""> </span><o:p></o:p></p>
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">I
                                suppose it's possible to <i>fold</i>
                                these features into the stock CodeArea,
                                given sufficient interest from the
                                community.</span><o:p></o:p></p>
                            <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""> </span><o:p></o:p></p>
                          </blockquote>
                          <p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
                        </div>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>