locked
Overwrite cut-and-paste

    Question

  • I want duplicate a line.

    I put the cursor at the very start of the line I want to duplicate.

    I put VS in Overwrite mode ( NOT INSERT mode )

    Using SHIFT-DOWN_ARROW I select the whole line.

    Now I hit CTRL-C, CTRL-V, CTRL-V: I have the selected line duplicated (gotcha), but the line that came after has a char less at the starting:

            dim b as boolean

            dim b as boolean

           dim c as integer

    Tuesday, August 14, 2012 7:11 AM

All replies

  • Hi,

    You don't need to select anything, just hit Ctrl+C and hit Ctrl+V, current line will be duplicated.

    Regards.


    Abhijit Annaldas (SDET, Microsoft India)

    Friday, August 24, 2012 5:32 PM