highlight a single character

Having trouble installing Oxygen? Got a bug to report? Post it all here.
daniel7
Posts: 10
Joined: Tue May 27, 2014 10:00 am

highlight a single character

Post by daniel7 »

Hi,

I cannot seem to highlight a single character. Here's what I'm doing:

Code: Select all

AuthorHighlighter highlighter = ...
highlighter.addHighlight(61, 61, new ColorHighlightPainter(), null);
Nothing gets highlighted. If I use start position = 61 and end position = 62, two characters get highlighted. Is that a bug, or am I missing something? I'm using Oxygen 16.0.

Thanks, Daniel
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: highlight a single character

Post by Radu »

Hi Daniel,

You are right, we reproduced the behavior and this looks like a bug on our side.
We'll try to find a fix for it and integrate the fix in the next Oxygen 16.0 minor bug fix release which is usually announced in this RSS feed:

http://www.oxygenxml.com/rssBuildID.xml

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: highlight a single character

Post by Radu »

Hi Daniel,

We just uploaded new Oxygen 16.0 kits on our web site which should fix the single character highlight problem you reported:

http://www.oxygenxml.com/rssBuildID.xml

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply