Add line numbers to RichTextBox

  • Thread starter Thread starter Miguel
  • Start date Start date
M

Miguel

Hi,

Can anyone help on how to add a line number section to a RichTextBox? In the
same way any code editor have...

thanks in advance
 
It doesn't sound like an easy task. (It's not a feature built into the
RichTextBox.)

Have a look at the SharpDevelop IDE -- if the IDE supports line numbers, you
can look at the code to see how they did it.
http://www.icsharpcode.net/
 
Back
Top