@Override
	public Node apply(int paragraph) {
		// Add all sub-factories in sorted order.
		LineContainer lineContainer = new LineContainer();
		for (LineGraphicFactory factory : factories)
			factory.apply(lineContainer, paragraph);

		// Wrap so the padding of the HBox expands the space of the 'lineno'.
		BorderPane wrapper = new BorderPane(lineContainer);
		wrapper.getStyleClass().add("lineno");
		// Note: The dimensions you will see on 'wrapper' do not appear to map its effective bounds.
		// We used to set the cursor to DEFAULT here, but this led to the editor's TEXT cursor being
		// replaced even when the visible bounds of this wrapper were not intersected with, and all
		// sub-nodes of the wrapper were marked as mouse-transparent.
		// The solution for now seems to just not specify a cursor.
		return wrapper;
	}
@param factory
		Graphic factory to remove.

@return {@code true} when removed. {@code false} when did not exist.
recaf-ui/src/main/java/software/coley/recaf/ui/control/richtext/linegraphics/RootLineGraphicFactory.java