getStartIndex

Gets the start index of the error in the checked text.