RFR: 8372298: RichTextArea: missing API: applyParagraphStyle [v3]

Michael Strauß mstrauss at openjdk.org
Tue Nov 25 19:14:07 UTC 2025


On Fri, 21 Nov 2025 20:47:01 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)
>
> Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
> 
>  - Merge branch 'master' into 8372298.apply
>  - since
>  - test
>  - fix

Looks good.

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

Marked as reviewed by mstrauss (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1980#pullrequestreview-3506467709


More information about the openjfx-dev mailing list