none
Strange behavior in Code Editor: Ctrl+X followed by Shift+Delete RRS feed

  • Frage

  • Hi all together,

    I frequently move source code around by shortcuts, which means I cut some lines with Ctrl+X and to "clean up"/make the remaining code look pretty I like to remove unneccesary blank lines with Shift+Del. Unfortunately when I get to the point where I want to paste what I cut, all VS inserts is a blank line. Is this a bug or a misconfiguration of my Visual Studio?

    Any hints are highly appreciated! (Because the described behavior is slightly annoying involving undoing several steps in order to retain what I actually wanted to cut... as you can possibly imagine.)

    Cheers, TlgTlg

    Sonntag, 3. April 2011 15:43

Antworten

  • BTW: This is a German group.

    Shift+Del ist the "old" shortcut for Cut and a synonym for it.
    If you look at the Keyboard Shortcuts viy Tools -> Customize -> Keyboard
    You find Edit.Cut assigned to Ctrl+X and Shift+Del!

    Delete the lines just by pressing Del!


    Martin Richter -- MVP for VC++ [Germany] -- http://blog.m-ri.de
    • Als Antwort markiert TlgTlg Montag, 4. April 2011 06:53
    Montag, 4. April 2011 06:05
    Moderator