RFR: 8370140: RichTextArea: line endings [v6]
Andy Goryachev
angorya at openjdk.org
Tue Nov 4 23:09:53 UTC 2025
On Tue, 4 Nov 2025 19:09:54 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> get text
>
> modules/jfx.incubator.richtext/src/main/java/jfx/incubator/scene/control/richtext/LineEnding.java line 35:
>
>> 33: public enum LineEnding {
>> 34: /** Classic Mac OS */
>> 35: CR,
>
> I question the need for this enum value. CR was only used prior to macOS 10.0, which is so old as to be uninteresting without a good reason (for comparison, the very first version of Java for macOS was for macOS 10.5). Do you have a use case in mind?
Yes, the use case is for application developers to have full control of the line endings. This might be useful for programming editors that deal with legacy formats.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1944#discussion_r2492276685
More information about the openjfx-dev
mailing list