Line numbers reading file

M

Maury

Hello,
I created with VS2005 one form with a textbox (multiline).
I inserted the content of a text file into the text box
(the user can choose which file can be inserted)
Now I would like to insert on the left, for each line,
the line number (like PsPad, or other text/html editors),
but if I insert in the textbox the user can modify this
information.
Some hints?
Thanks
..:M:.
 
N

Nicolas Guinet

VS2005 menu :

Tools > Options > Text Editor > C# > Display > Line Number checkbox

Regards

Nicolas Guinet
 

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