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

Andy Goryachev angorya at openjdk.org
Fri Nov 21 20:28:31 UTC 2025


> 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 incrementally with one additional commit since the last revision:

  since

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1980/files
  - new: https://git.openjdk.org/jfx/pull/1980/files/911aa322..0a7e6bb9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1980&range=01
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1980&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jfx/pull/1980.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1980/head:pull/1980

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


More information about the openjfx-dev mailing list