On Tue, 6 Jan 2026 17:37:26 GMT, Andy Goryachev <[email protected]> wrote:

> The goal of this work is to deliver a sufficiently complete implementation of 
> an editor application based on the RichTextArea that users can adopt as is or 
> use as, or use it as a foundation for a more complex editor.
> 
> Improvements include:
> - syncing the toolbar with current character attributes
> - improved toolbar behavior in regards to character attributes, utilizing the 
> new 'insertStyles' property 
> [JDK-8374035](https://bugs.openjdk.org/browse/JDK-8374035)
> - paragraph format dialog, with the associated toolbar button and the main 
> menu item
> 
> <img width="676" height="678" alt="Screenshot 2026-01-15 at 12 01 44" 
> src="https://github.com/user-attachments/assets/9c96e4d2-21f3-43d2-b009-01d6887747f8";
>  />
> 
> Test case related to 
> [JDK-8374035](https://bugs.openjdk.org/browse/JDK-8374035):
> - type something
> - place cursor at the middle of the typed text and hit command-B or ctrl-B on 
> Win/Linux
> - notice how the formatting toolbar highlights [b] button indicating that the 
> style for next character to be inserted has changed to bold
> - type something and confirm that inserted text is bold
> the new style is captured only in the toolbar UI, so clicking on some other 
> part of the text reverts the bold button to the unselected state.

This pull request has now been integrated.

Changeset: 744d7fa3
Author:    Andy Goryachev <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/744d7fa3c9a69542924043802db6422bce2e184d
Stats:     1323 lines in 12 files changed: 846 ins; 349 del; 128 mod

8373936: RichEditorDemoApp enhancements
8376138: RichTextArea: getModelStyleAttrs might return wrong attributes

Reviewed-by: lkostyra, zelmidaoui

-------------

PR: https://git.openjdk.org/jfx/pull/2026

Reply via email to