@Override
	public RowColLocation textOffsetToScreenLocation(int textOffset) {
		int col = textOffset + startingCharIndex;
		if (col < 0) {
			return new DefaultRowColLocation();
		}
		return new RowColLocation(0, Math.min(col, textElement.getText().length() - 1));
	}
Returns true if the text is clipped (truncated)
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/field/ReverseClippingTextField.java