Disable Special Character Highlighting

Oxygen general issues.
Chemo
Posts: 19
Joined: Mon Aug 15, 2011 10:57 am

Disable Special Character Highlighting

Post by Chemo »

Hi.

In my documents I have special characters like the "descending s". In the text they are embedded as character codes like "ſ".
Now in the Oxygen author perspetive though this characters are displyed correctly due to the Font Junicode, they are highlighted with a grey background color and enclosed by tag-symbols, even if they are no xml elements.

This impairs the readability.
Is there a way to disable this highlighting and to display this characters not as elements, but as a normal single characters?

Thanks,
Chemo
Chemo
Posts: 19
Joined: Mon Aug 15, 2011 10:57 am

Re: Disable Special Character Highlighting

Post by Chemo »

for visualisation a screenshot:
Image
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Disable Special Character Highlighting

Post by Radu »

Hi,

In the CSS you are using to render the XML in the Author page you should import a special namespace after all the CSS imports and then use a special selector we have to customize the entity node, something like:

Code: Select all

@namespace oxy url('http://www.oxygenxml.com/extensions/author');

oxy|entity {
background-color: inherit !important;
margin:0px !important;
padding: 0px !important;
-oxy-display-tags:none;
}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Chemo
Posts: 19
Joined: Mon Aug 15, 2011 10:57 am

Re: Disable Special Character Highlighting

Post by Chemo »

Thank you very much. Works great.
Post Reply