> 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.
Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision: actions ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2026/files - new: https://git.openjdk.org/jfx/pull/2026/files/482176b3..3a4f499c Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2026&range=02 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2026&range=01-02 Stats: 172 lines in 3 files changed: 82 ins; 74 del; 16 mod Patch: https://git.openjdk.org/jfx/pull/2026.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2026/head:pull/2026 PR: https://git.openjdk.org/jfx/pull/2026
