@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}

		StringDiff other = (StringDiff) obj;
		if (!Objects.equals(text, other.text)) {
			return false;
		}
		if (start != other.start) {
			return false;
		}
		if (end != other.end) {
			return false;
		}
		return true;
	}
Construct a new StringDiff that indicates that insertData was inserted at the given position

@param newText inserted string
@param start position where the text was inserted
@return the new diff
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/StringDiff.java