private void timer1_Tick(object sender, EventArgs e) { int line = Entrada.GetLineFromCharIndex(Entrada.GetFirstCharIndexOfCurrentLine()); int colum = 1 + Entrada.SelectionStart - Entrada.GetFirstCharIndexOfCurrentLine(); label1.Text = "line: " + line.ToString() + ", column: " + colum.ToString(); }