< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/control/skin/TextFieldSkin.java
Print this page
@@ -439,11 +439,11 @@
*
* @param start The starting index in the range, inclusive. This must be >= 0 and < the end.
* @param end The ending index in the range, exclusive. This is one-past the last character to
* delete (consistent with the String manipulation methods). This must be > the start,
* and <= the length of the text.
- * @param text The text that is to replace the range. This must not be null.
+ * @param txt The text that is to replace the range. This must not be null.
* @see TextField#replaceText(int, int, String)
*/
public void replaceText(int start, int end, String txt) {
final double textMaxXOld = textNode.getBoundsInParent().getMaxX();
final double caretMaxXOld = caretPath.getLayoutBounds().getMaxX() + textTranslateX.get();
< prev index next >