RFR: 8180276: JTextPane getText return extra when mixed with methods of Document [v5]

Tejesh R duke at openjdk.java.net
Mon Apr 11 04:59:58 UTC 2022


On Fri, 8 Apr 2022 12:37:36 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> What happens if you add `\r` to an arbitrary location in text?
> 
> What happens if you read in such a text?

It doesn't matter, since the data is appended only if '\n' is present when EndofLine is '\r\n'......

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

PR: https://git.openjdk.java.net/jdk/pull/8122



More information about the client-libs-dev mailing list