Page 1 of 1

Disable Special Character Highlighting

Posted: Tue Oct 30, 2012 5:29 pm
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

Re: Disable Special Character Highlighting

Posted: Tue Oct 30, 2012 5:34 pm
by Chemo
for visualisation a screenshot:
Image

Re: Disable Special Character Highlighting

Posted: Tue Oct 30, 2012 6:25 pm
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

Re: Disable Special Character Highlighting

Posted: Tue Oct 30, 2012 6:50 pm
by Chemo
Thank you very much. Works great.