WPF/코드
WPF___TextBox 현재 커서 라인 구하기
어벙이
2020. 2. 17. 11:05
int line = textBox1.GetLineFromCharIndex(textBox1.SelectionStart);
int column = textBox1.SelectionStart - textBox1.GetFirstCharIndexFromLine(line);