JDK-8116220 : Text does not clear selection on Text.setText(...)
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0.2
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2011-10-24
  • Updated: 2015-06-17
  • Resolved: 2011-10-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
fx2.0.2Fixed
Related Reports
Blocks :  
Description
Text does not clear selection on Text.setText(...).  Thus next selection range will be invalid for most text content changes.  For example if all text is selected in a string "Hello", then we have a selection range from 0 to 5.  But if that text is changed to "H" the range 0, 5 will cause an out of range exception.
Comments
Verified on build 2.0.2b08.
15-11-2011

Graphics runtime Build #139 Will be in 2.0.2 release.
25-10-2011

Pushed changes as of: changeset: 14766:6bfce669fe05
25-10-2011