all groups > dotnet windows forms > september 2006 >
You're in the

dotnet windows forms

group:

Line numbers reading file


Line numbers reading file Maury
9/29/2006 12:00:00 AM
dotnet windows forms:
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
Re: Line numbers reading file Jared
9/29/2006 12:00:00 AM
Re: Line numbers reading file Nicolas Guinet
10/5/2006 12:00:00 AM
VS2005 menu :

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

Regards

Nicolas Guinet

"Maury" <maurizio.alberti_TOGLI_@gmail.com> a écrit dans le message de news:
1s3Tg.127921$_J1.881343@twister2.libero.it...
[quoted text, click to view]

AddThis Social Bookmark Button