added autocomplete for line and horizon line when a line has been labeled