如何得到RichTextBox的可视行数?
开始用下面的方法: Dim r As RichTextBox = RichTextBox1 Dim lines, iFirst, iLast As Int32 iFirst = r.GetLineFromCharIndex(r.GetCharIndexFromPosition(New Point(0, 0))) iLast = r.GetLi