/[Apache-SVN]
ViewVC logotype

Revision 1747431


Jump to revision: Previous Next
Author: rwhitcomb
Date: Wed Jun 8 18:53:26 2016 UTC (7 years, 9 months ago)
Changed paths: 1
Log Message:
PIVOT-988:  Fix the inclusion check in TextPaneSkinElementView.getCharacterBounds().
It was using >= offset && <= offset + length, when it should be just:
>= offset && < offset + length
Thus the previous element was used to get the paragraph bounds, which results in
the position being on the previous line.

This fixes a variety of problems having to do with selections in TextPane!



Changed paths

Path Details
Directorypivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinElementView.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26