标签:get textbox stc fir lin color code from box
int index = richTextBox1.GetFirstCharIndexOfCurrentLine(); int line = richTextBox1.GetLineFromCharIndex(index);
获取光标所在行索引
原文地址:https://www.cnblogs.com/jizhiqiliao/p/10038818.html