Page 1 of 1

highlight a single character

Posted: Tue May 27, 2014 10:12 am
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

Re: highlight a single character

Posted: Tue May 27, 2014 12:47 pm
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

Re: highlight a single character

Posted: Thu Jun 12, 2014 11:02 am
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