int line = textBox1.GetLineFromCharIndex(textBox1.SelectionStart) + 1; int col = textBox1.SelectionStart - textBox1.GetFirstCharIndexOfCurrentLine();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)