RFR: 8370140: RichTextArea: line endings [v15]

Jayathirth D V jdv at openjdk.org
Mon Nov 10 06:18:21 UTC 2025


On Fri, 7 Nov 2025 16:57:55 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Adds control of line endings (newline separators) in `StyledTextModel`, `RichTextArea`, and `CodeArea`.
>> 
>> The impacted areas are:
>> - saving to plain text
>> - copying to plain text
>> - IME
>> 
>> This feature is implemented as a regular field in the `StyledTextModel` (since it is ultimately an attribute of the model), with convenience setter and getter in the `RichTextArea`.
>> 
>> ### NOTES
>> 
>> - some dependency on #1938 , resolved.
>
> Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 19 commits:
> 
>  - Merge branch 'master' into 8370140.line.separator
>  - rm property
>  - try
>  - Merge remote-tracking branch 'origin/master' into 8370140.line.separator
>  - review comments
>  - removed property
>  - review comments
>  - code area test
>  - Merge branch 'master' into 8370140.line.separator
>  - fixed tests
>  - ... and 9 more: https://git.openjdk.org/jfx/compare/bb660211...4eb15464

Marked as reviewed by jdv (Committer).

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

PR Review: https://git.openjdk.org/jfx/pull/1944#pullrequestreview-3441042627


More information about the openjfx-dev mailing list