Reputation: 192457
I would like the converse of RichTextBox.GetLineFromCharIndex()
I have a line number and I want to retrieve the char index for that line.
The method might be called RichTextBox.GetCharIndexFromLine()
.
Is it possible, simply?
Upvotes: 0
Views: 401
Reputation: 3545
Yes, the method is RichTextBox.GetFirstCharIndexFromLine(LineNumber)
Upvotes: 3