TextDetector defines the end of the line