After further investigation, it turns out that in
AbstractLineStyleProvider, no style is attached to whitespace. When
annotations are removed, no StyleRange are creates since there is no
annotation underline to render.

I think that's really a bug in the SSE framework. Is there already a bug
open for that?

Lionel

[email protected] wrote on 08/17/2010 08:01:59 PM:

> From:
>
> Lionel Villard/Watson/i...@ibmus
>
> To:
>
> [email protected]
>
> Date:
>
> 08/17/2010 08:02 PM
>
> Subject:
>
> [wtp-dev] Annotation underline won't refresh
>
> Hello,
>
> I'm having a problem with annotation underlines not being refreshed
> properly in XQDT (which uses SSE). It happens only when the
> annotation spans over white spaces. AFAICT, the faulty annotation is
> properly deleted but somehow only the part containing characters is
refreshed.
>
> It might have to do with the difference between
> ITextRegion.getTextLength() and ITextRegion.getText(). When I change
> my implementation so that getTextLength() always equates getText() I
> don't have the refresh problem above.
>
> Still investigating. Meanwhile, any ideas what could be wrong?
> thanks
> Lionel_______________________________________________
> wtp-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to