Search found 34 matches

by yury.eroshenkov
Thu Jun 06, 2013 4:45 pm
Forum: Other Issues
Topic: Some Oxygen trigger removes StyledText highlighting
Replies: 5
Views: 2134

Re: Some Oxygen trigger removes StyledText highlighting

Thank you for your help much!
The annotations are working perfectly! Thanks.
by yury.eroshenkov
Wed Jun 05, 2013 5:14 pm
Forum: Other Issues
Topic: Some Oxygen trigger removes StyledText highlighting
Replies: 5
Views: 2134

Re: Some Oxygen trigger removes StyledText highlighting

Thank you.
Acctually, we tried to use annotations first, but couldn't access to the annotation model.
We will try this.
by yury.eroshenkov
Wed Jun 05, 2013 3:40 pm
Forum: Other Issues
Topic: Some Oxygen trigger removes StyledText highlighting
Replies: 5
Views: 2134

Re: Some Oxygen trigger removes StyledText highlighting

For example, adding the ranges: public void add(Key key, AbsoluteRange range, MarkingColor color, MarkingType markingType) { StyleRange styleRange = new StyleRange(); styleRange.background = Colors.toSwtColor(color); styleRange.start = range.getBegin(); styleRange.length = range.getLength(); styleRa...
by yury.eroshenkov
Wed Jun 05, 2013 1:45 pm
Forum: Other Issues
Topic: Some Oxygen trigger removes StyledText highlighting
Replies: 5
Views: 2134

Some Oxygen trigger removes StyledText highlighting

Hi, We are building a plug-in for Eclipse(3.5) and Oxygen Eclipse Editor(com.oxygenxml.author 13.2) and integrating some text highlighting logic into the Editor. In the Author mode everything work fine - we are using an Oxygen API to crate text ranges. In the text mode we are using Styled Text widge...