有没有办法(或捷径)告诉 VS 2008 它削减了这样的一行:
前:
Some Text here
This gets cut
Some Code there
后:
Some Text here
Some Code there
我想要的是:
Some Text here
Some Code there
PS:我不想选择整行或类似的东西......只有我要剪切的文本。
有没有办法(或捷径)告诉 VS 2008 它削减了这样的一行:
前:
Some Text here
This gets cut
Some Code there
后:
Some Text here
Some Code there
我想要的是:
Some Text here
Some Code there
PS:我不想选择整行或类似的东西......只有我要剪切的文本。
除非我误解了你:
只需将光标放在要剪切的行上(无选择),然后按Ctrl+ x。这会切断行(不留空白)并将文本放入剪贴板。(在MS VC# 2008 Express中测试,没有我知道的其他设置)
那是你要的吗?
Shift+Delete also works. Select a line and hit Shift-Delete it will remove the line and place that line in your clipboard.
不要选择任何东西,只需在光标在线时按ctrl+即可。x