copy code and line numbers in visual studio 2010
Posted on 2012-04-09
I'm using VB in Visual Studio 2010.
I turned on the line numbers in my VB text editor by going to Tools - > Options and checking the Line Numbers check box.
So now when I'm writing vb code on the left i see the line numbers and my code to the right of each line number.
If I select my code and right click my mouse and click copy that copies my code and then I can paste it in notepad or Microsoft Word when I need to write some notes. But I notice the line numbers aren't copied.
Is there a way to select both my code and the line numbers so I can copy and paste them both in notepad or word?