@Override
	public int getCharacterIndexForDataLocation(int dataRow, int dataColumn) {
		if (row == dataRow) {
			if (dataColumn >= column && dataColumn < column + attributedString.length()) {
				return 0;
			}
		}
		return -1;
	}
This method is designed to be called when a mouse click has occurred for a given
{@link ProgramLocation}.

@param sourceNavigatable The source Navigatable
@param serviceProvider A service provider from which system resources can be retrieved
@return true if this string handles the mouse click.
Ghidra/Features/Base/src/main/java/ghidra/util/bean/field/AnnotatedTextFieldElement.java