views:

47

answers:

4

when i hit ctrl + c without selecting anything (it should copy that line) and make some changes in the code then paste to another section, however the copied code is no longer there. im using visual studio 2010 and 2008, they both have this bug. anyone else noticed this bug?

A: 

I just tried that to see, and it doesn't happen to me in VS 2008. Has this been happening long?

Perhaps there is something else at work here, have you tried a restart to see if that fixes it?

CSharpProgrammer
A: 

i've run into this before with vb code files. i don't have to do work in vb that often, so the easy solution was to train myself to do copy and paste operations without intermediate actions. i don't recall ever having this issue with c#.

lincolnk
A: 

Ctrl+C & Ctrl+V on a line without any selection, does copy the line for me in VS2008 and VS2010.

Have you tried, Ctrl+X, then Ctrl+V, this should cut and paste the line back in the same place, but have the line contents in your clipboard buffer like using copy.

JonWillis