120121122123124125126127128129130
t.getStyleClass().add("text"); applyStyle.accept(t, segment.getStyle()); // XXX: binding selectionFill to textFill, // see the note at highlightTextFill t.impl_selectionFillProperty().bind(t.fillProperty()); getChildren().add(t); } }