private int findX(int column) {
		return metrics.stringWidth(text.substring(0, column));
	}
@see docking.widgets.fieldpanel.field.Field#isValid(int, int)
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/field/SimpleTextField.java