Category Archives: Windows Forms

Get line and column number of the cursor position on a RichTextBox

Recently I needed to get the line and column numbers based on the position of the cursor inside a RichTextBox control, in a Windows Forms project.

Posted in .NET, Windows Forms | Tagged , , , , | Leave a comment