diff --git a/richtextfx/src/main/java/org/fxmisc/richtext/StyledTextArea.java b/richtextfx/src/main/java/org/fxmisc/richtext/StyledTextArea.java index ebf4a077f..0117caa14 100644 --- a/richtextfx/src/main/java/org/fxmisc/richtext/StyledTextArea.java +++ b/richtextfx/src/main/java/org/fxmisc/richtext/StyledTextArea.java @@ -187,15 +187,6 @@ public void setUndoManager(UndoManagerFactory undoManagerFactory) { : createPlainUndoManager(undoManagerFactory); } - // font property - /** - * The default font to use where font is not specified otherwise. - */ - private final StyleableObjectProperty font = new FontProperty<>(this); - public final StyleableObjectProperty fontProperty() { return font; } - public final void setFont(Font value) { font.setValue(value); } - public final Font getFont() { return font.getValue(); } - /** * Popup window that will be positioned by this text area relative to the * caret or selection. Use {@link #popupAlignmentProperty()} to specify