view carsor and line