Add line numbers to RichTextBox

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
 
R

Robert Jacobson

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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top