RFR: 8370140: RichTextArea: line endings [v8]
Andy Goryachev
angorya at openjdk.org
Wed Nov 5 17:57:46 UTC 2025
> 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), and as a property in the `CodeArea`.
>
> ### NOTES
>
> - some dependency on #1938 , resolved.
> - reviewers may use the Monkey Tester with the `CodeArea.lineEnding` property enabled from this branch: https://github.com/andy-goryachev-oracle/MonkeyTest/tree/line.ending
Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits:
- Merge branch 'master' into 8370140.line.separator
- fixed tests
- non-nullable
- Merge branch 'master' into 8370140.line.separator
- get text
- Merge branch 'master' into 8370140.line.separator
- since
- Merge branch 'master' into 8370140.line.separator
- Merge remote-tracking branch 'origin/master' into 8370140.line.separator
- tests
- ... and 1 more: https://git.openjdk.org/jfx/compare/11cff5d6...0cf0ed66
-------------
Changes: https://git.openjdk.org/jfx/pull/1944/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1944&range=07
Stats: 296 lines in 13 files changed: 265 ins; 11 del; 20 mod
Patch: https://git.openjdk.org/jfx/pull/1944.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1944/head:pull/1944
PR: https://git.openjdk.org/jfx/pull/1944
More information about the openjfx-dev
mailing list