I don't think there's a bug report for this.  One detailing your findings 
would be appreciated, although it's probably line 125 that's the culprit. 
That use of #getTextLength() was intended to avoid issues painting the 
background style for trailing whitespace on the last text region of a 
document region--the whitespace often ran far longer than a user expected. 
 The correct fix will probably have to incorporate use of the 
ITextRegion's index within its owning ITextRegionCollection's 
ITextRegionList.

Regards,
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to