Integrated: 8372298: RichTextArea: missing API: applyParagraphStyle

Andy Goryachev angorya at openjdk.org
Tue Dec 2 15:28:56 UTC 2025


On Fri, 21 Nov 2025 16:19:07 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> A missing protected method in StyledTextModel prevents from toggling of an individual paragraph attribute.
> 
> This can be tested with he latest Monkey Tester
> https://github.com/andy-goryachev-oracle/MonkeyTest
> 
> - select the RichTextArea page
> - select the RichTextArea model
> - select Control -> Context Menu -> RichTextArea menu
> - type in several paragraphs
> - select all and apply one paragraph attribute, let's say Paragraph Styles -> Background -> (any non-null)
> - select a subset of previously selected paragraphs and apply a second paragraph attribute, let's say Paragraph Styles -> Bullet -> (any non-null)

This pull request has now been integrated.

Changeset: 6626e013
Author:    Andy Goryachev <angorya at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/6626e01398717dc2d9eeab4e31c2c9895398fe35
Stats:     95 lines in 8 files changed: 88 ins; 0 del; 7 mod

8372298: RichTextArea: missing API: applyParagraphStyle

Reviewed-by: kcr, mstrauss

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

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


More information about the openjfx-dev mailing list