On Mon, 17 Mar 2025 16:23:11 GMT, Ziad El Midaoui <d...@openjdk.org> wrote:
>>> What happens if the text contains line breaks other than `\n` >> >> This is a good question. >> I guess it depends on what other characters cause line break in JavaFX. >> Wikipedia (https://en.wikipedia.org/wiki/Newline) specifies a few: >> >> >> 1. vert tab \u000b --- >> 2. form feed \u000c --- >> 3. cr \u000d --- >> 4. crlf \u000d\u000a --- >> 5. lf \u000a --- >> 6. nel \u0085 --- >> 7. ls \u2028 --- >> 8. ps \u2029 --- >> >> >> @Ziad-Mid could you investigate please? > >> 3. cr \u000d --- > > Yes , this approach do not handle all the line Seperators only "\n" , I will > change it to handle it all @Ziad-Mid please make sure we _need_ to change - does the code (with no filtering) render **other** newline characters? ------------- PR Comment: https://git.openjdk.org/jfx/pull/1716#issuecomment-2730132473