RFR: 8369085: RichTextArea SELECT_PARAGRAPH to include line separator

Kevin Rushforth kcr at openjdk.org
Thu Oct 23 17:10:15 UTC 2025


On Mon, 20 Oct 2025 21:28:48 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> RichTextArea.Tag.SELECT_PARAGRAPH or RichTextArea.selectParagraph() must include the trailing line separator (if present).
> 
> This is a behavioral change, but a simple one (an obvious bug) - maybe one reviewer is sufficient.  I don't think this needs a CSR.
> 
> Some interdependency exists between this PR and #1944.  
> Depending which gets integrated first, changes in tests will be needed.

LGTM. The newly added test fails without the fix and passes with the fix. Also, it does what I expect in MonkeyTester.

This is a simple enough fix that a single reviewer is sufficient.

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

Marked as reviewed by kcr (Lead).

PR Review: https://git.openjdk.org/jfx/pull/1940#pullrequestreview-3371291909
PR Comment: https://git.openjdk.org/jfx/pull/1940#issuecomment-3438149735


More information about the openjfx-dev mailing list