<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>After reading everything on this thread, I can understand all sides.</div>

<div> </div>

<div>I think that a general RichTextArea control inside JavaFX is a nice addition and it somewhat makes sense to me as well.</div>

<div> </div>

<div>But I also understand the other points, I agree that there is still a lot of work needed to improve and open JavaFX for 3rd Party Developers.</div>

<div>If I can decide where the most time would go in, I would also rather decide to fix existing problems, improve documentation and allow developers to better customize the Controls as needed.</div>

<div>
<div>Since there was already a significant amount of work spend to develop a first RichTextArea draft, we should probably continue with it and see what API makes sense and take care that it is as extensible as we think it should be.</div>

<div> </div>

<div>-- Marius</div>

<div> </div>

<div> </div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 21. Februar 2024 um 19:07 Uhr<br/>
<b>Von:</b> "Andy Goryachev" <andy.goryachev@oracle.com><br/>
<b>An:</b> "openjfx-dev@openjdk.org" <openjfx-dev@openjdk.org><br/>
<b>Betreff:</b> Proposal: RichTextArea Control (Incubator)</div>

<div name="quoted-content"><!--p.MsoNormal, li.MsoNormal, div.MsoNormal {
        margin: 0.0in;
        font-size: 12.0pt;
        font-family: Calibri , sans-serif;
}
a:link, span.MsoHyperlink {
        color: rgb(5,99,193);
        text-decoration: underline;
}
span.EmailStyle17 {
        font-family: "Iosevka Fixed SS16";
        color: windowtext;
}
*.MsoChpDefault {
        font-family: Calibri , sans-serif;
}
div.WordSection1 {
        page: WordSection1;
}
-->
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">Dear JavaFX developers:</span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";"> </span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">We would like to propose a new feature - rich text control, RichTextArea, intended to bridge the functional gap with Swing and its StyledEditorKit/JEditorPane.  The main design goal is to provide a control that is complete enough to be useful out-of-the box, as well as open to extension by the application developers.</span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";"> </span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">This is a complex feature with a large API surface that would be nearly impossible to get right the first time, even after an extensive review.  We are, therefore, introducing this in an incubating module, <b>javafx.incubator.richtext</b>.   This will allow us to evolve the API in future releases without the strict compatibility constraints that other JavaFX modules have.</span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";"> </span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">Please take a look at the proposal [0], a list of discussion points [1], and the API Specification (javadoc) [2]. While the proposed API is ready for review, it isn't complete nor set in stone. We are looking for feedback, and will update the proposal based on the suggestions we receive from the community.  We encourage you to comment either in the mailing list, or by leaving comments inline in a draft pull request [3].  For context, the links to the original RFE [4] and a list of missing APIs related to rich text [5] are provided below.</span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";"> </span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">Sincerely,</span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">Your friendly JavaFX development team.</span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";"> </span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";"> </span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">References</span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";"> </span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";"> </span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">[0] Proposal: <a href="https://github.com/andy-goryachev-oracle/Test/blob/rich.jep.review/doc/RichTextArea/RichTextArea.md" target="_blank"> https://github.com/andy-goryachev-oracle/Test/blob/rich.jep.review/doc/RichTextArea/RichTextArea.md</a></span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">[1] Discussion points: <a href="https://github.com/andy-goryachev-oracle/Test/blob/rich.jep.review/doc/RichTextArea/RichTextAreaDiscussion.md" target="_blank"> https://github.com/andy-goryachev-oracle/Test/blob/rich.jep.review/doc/RichTextArea/RichTextAreaDiscussion.md</a></span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">[2] API specification (javadoc): <a href="https://cr.openjdk.org/~angorya/RichTextArea/javadoc" target="_blank">https://cr.openjdk.org/~angorya/RichTextArea/javadoc</a></span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">[3] Draft Pull Request for API comments and feedback: <a href="https://github.com/openjdk/jfx/pull/1374" target="_blank">https://github.com/openjdk/jfx/pull/1374</a></span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">[4] RichTextArea RFE: <a href="https://bugs.openjdk.org/browse/JDK-8301121" target="_blank">https://bugs.openjdk.org/browse/JDK-8301121</a></span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16 Light";">[5] Missing APIs related to rich text control: <a href="https://bugs.openjdk.org/browse/JDK-8300569" target="_blank">https://bugs.openjdk.org/browse/JDK-8300569</a></span></p>

<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: "Iosevka Fixed SS16";"> </span></p>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>