< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/TextFormatter.java

Print this page

        

@@ -140,11 +140,11 @@
         return filter;
     }
 
     /**
      * The current value for this formatter. When the formatter is set on a {@code TextInputControl} and has a
-     * @{code valueConverter}, the value is set by the control, when the text is commited.
+     * {@code valueConverter}, the value is set by the control, when the text is commited.
      */
     private final ObjectProperty<V> value = new ObjectPropertyBase<V>() {
 
         @Override
         public Object getBean() {

@@ -235,11 +235,10 @@
      *         <li><b>Some text was replaced:</b> The combination of the 2 cases above. Both {@code text} and {@code range} are not empty. The text in {@code range} is deleted
      *         and replaced by {@code text} in the Change. The new text is added instead of the old text, which is at the beginning of the {@code range}.
      *         E.g. when some text is being deleted, you can simply replace it by some placeholder text just by setting a new text
      *         ({@code setText("new text")})</li>
      *     </ul>
-     * </p>
      * <p>
      *     The Change is mutable, but not observable. It should be used
      *     only for the life of a single change. It is intended that the
      *     Change will be modified from within the formatter.
      * </p>
< prev index next >