Page 1 of 1

Newline characters now appearing in author mode

Posted: Thu Dec 10, 2020 4:38 pm
by wbrisett
I'm using oXygen 23, I am now seeing in DITA <codeblock> element the \n character as a square box. I don't ever recall seeing these before. Did something change? When I examined the file it's really the 0x0A character in that spot, so nothing odd there. I don't see anything in the preferences to disable showing invisible characters. I'm stumped... Thoughts?

Re: Newline characters now appearing in author mode

Posted: Fri Dec 11, 2020 11:41 am
by Radu
Hi Wayne,

On what operating system are you working? Did you change any setting in the Oxygen Preferences->Fonts page?
In the Oxygen main menu Help->About there is a "System Preferences" tab, can you tell me what "java.version" value you have listed here?

Regards,
Radu

Re: Newline characters now appearing in author mode

Posted: Thu May 06, 2021 7:23 pm
by dbailey
I'm seeing the same behavior in oXygen 23.1 on macOS 10.15 Catalina.
newlines-in-codeblock.png
newlines-in-codeblock.png (20.06 KiB) Viewed 1651 times
Help > About > System properties > java.version = 15.0.1
Editor font is Monaco 12 point.

Re: Newline characters now appearing in author mode

Posted: Fri May 07, 2021 9:51 am
by Radu
Hi,

Thanks for the details.
The "Editor" font is the font used in the Text page. The "Author" font is by default Times New Roman on Mac but in code blocks we use the default platform monospaced font which somehow indeed seems to have problems when Oxygen is run with Java 15. The Oxygen kit which comes with Java 8 does not have this problem. I added an internal issue to investigate this further and see if there is anything on our side which could be done.

Regards,
Radu

Re: Newline characters now appearing in author mode

Posted: Fri May 07, 2021 10:19 pm
by dbailey
Thanks for the response, Radu.

For whatever it's worth, I upgraded recently to 23.1 from 20.1, which didn't have this behavior on the same machine with the same OS version and Java version. So it seems as though there's something new in oXygen that's contributing to the issue.

Re: Newline characters now appearing in author mode

Posted: Mon May 10, 2021 7:29 am
by Radu
Hi,

Thanks for the hint, I added it on the opened issue and we'll look over this.
But Oxygen comes with a bundled Java installation (it does not use the default Java installation in the OS), looking in our downloads history for Oxygen 20.1 we only had on Mac OS a kit which bundled Java 8 (OS X 10.8 and later (Includes Java SE 8u172)):
https://www.oxygenxml.com/xml_editor/so ... r_eol.html

Oxygen 21.0 started to be bundled on Mac OS with both Java 8 and 11:
https://www.oxygenxml.com/xml_editor/so ... ditor.html

and we started using Oxygen kits with Java 15 only in recent Oxygen 23.x installation kits.

Regards,
Radu

Re: Newline characters now appearing in author mode

Posted: Tue Oct 19, 2021 8:31 am
by Radu
Hi,

We released Oxygen 24 and it should have this problem fixed.

Regards,
Radu