<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Right, sorry, missed that one.</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;">This might get complicated - while that might work for an in-memory model, it will be very complicated in the case of a
</span><span style="font-size: 16px; background-color: rgb(255, 255, 255);">large virtualized model.</span></div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);"><br>
</span></div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);">An alternative might be to remove 'final' from replace(StyleResolver resolver, TextPos start, TextPos end, StyledInput input), or to allow a callback before the actual changes are made.</span></div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);"><br>
</span></div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);">I am not sure about the use case for this though. If you simply want to do a syntax or spelling check highlighter, you might need to keep a separate data structure that allows one to do, for example, a partial
update, or to get the plain text from the model, or something else entirely.</span></div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);"><br>
</span></div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);">-andy</span></div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);"><br>
</span></div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="mail-editor-reference-message-container">
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"></div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; padding: 3pt 0in 0in; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor; font-family: Aptos; font-size: 12pt; color: black;">
<b>From: </b>Jurgen Doll <jurgen@ivoryemr.co.za><br>
<b>Date: </b>Monday, November 3, 2025 at 00:36<br>
<b>To: </b>Andy Goryachev <andy.goryachev@oracle.com><br>
<b>Subject: </b>[External] : Re: RichTextArea Feedback<br>
<br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Nylas-Pro, Helvetica, "Lucidia Grande", sans-serif; font-size: 14.5px;">
Hi Andy</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Nylas-Pro, Helvetica, "Lucidia Grande", sans-serif; font-size: 14.5px;">
> Did I miss anything? Please let me know. #2</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Nylas-Pro, Helvetica, "Lucidia Grande", sans-serif; font-size: 14.5px;">
Also, the RFE regarding ContentChange:</div>
<pre style="background-color: rgba(0, 0, 0, 0.05); padding: 0.2em 1em;"><div class="ms-outlook-mobile-reference-message skipProofing"><code>This is a request to enhance ContentChange with an additional method: getPreviousSegments()</code><br><br><code>Currently ContentChange reports only where something has changed.</code><br><code>Using this one can determine the current state of the document, however</code><br><code>determining what has actually changed is impossible. So having this</code><br><code>extra information available would be helpful.</code><br><br><code>I think this can easily be done in StyledTextModel where the previous</code><br><code>segments can be obtained by extracting them from the freshly created</code><br><code>UndoableChange object when calling fire?ChangeEvent(...)</code></div></pre>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Nylas-Pro, Helvetica, "Lucidia Grande", sans-serif; font-size: 14.5px;">
Thanks, regards</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Nylas-Pro, Helvetica, "Lucidia Grande", sans-serif; font-size: 14.5px;">
Jurgen</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
</div>
</body>
</html>