Visual Studio 2008 Tip 21 - 如何调换字符、词或行的顺序?

原文链接:How to transpose charactors, words, and lines in the editor?

Transpose example

操作方法:
1、按下Ctrl+T调换字符顺序
2、按下Ctrl+Shift+T调换词的顺序
3、按下Alt+Shift+T调换行的顺序

在上图中,光标位于is之前
1、按下Ctrl+T,变成:nowi s the time
2、按下Ctrl+Shift+T,变成:now the is time
3、按下Alt+Shift+T交换当前行与下面一行的顺序