From 19ae8fe7b0739895efd96e0ad9ca4332c888fe50 Mon Sep 17 00:00:00 2001 From: juha Date: Wed, 30 Mar 2011 12:37:44 +0000 Subject: [PATCH] IDE: fix key mapping for Toggle Comment, add some other shortcuts. git-svn-id: trunk@30084 - --- ide/keymapping.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ide/keymapping.pp b/ide/keymapping.pp index 7e6b576777..beb7d3be75 100644 --- a/ide/keymapping.pp +++ b/ide/keymapping.pp @@ -287,10 +287,10 @@ begin ecSelectionLowerCase: SetResult2(VK_K,[SSCtrl],VK_O,[],VK_UNKNOWN,[],VK_UNKNOWN,[]); ecSelectionSwapCase: SetResult2(VK_K,[SSCtrl],VK_P,[],VK_UNKNOWN,[],VK_UNKNOWN,[]); ecSelectionTabs2Spaces: SetResult(VK_UNKNOWN, [],VK_UNKNOWN,[]); - ecSelectionEnclose: SetResult(VK_UNKNOWN, [],VK_UNKNOWN,[]); - ecSelectionComment: SetResult(VK_UNKNOWN, [],VK_UNKNOWN,[]); - ecSelectionUncomment: SetResult(VK_UNKNOWN, [],VK_UNKNOWN,[]); - ecToggleComment: SetResult(VK_OEM_2, [ssCtrl], VK_UNKNOWN, []); + ecSelectionEnclose: SetResult(VK_N, [ssShift,ssCtrl],VK_UNKNOWN,[]); + ecSelectionComment: SetResult(VK_V, [ssShift,ssCtrl],VK_UNKNOWN,[]); + ecSelectionUncomment: SetResult(VK_U, [ssShift,ssCtrl],VK_UNKNOWN,[]); + ecToggleComment: SetResult(VK_T, [ssShift,ssCtrl], VK_OEM_2, [ssCtrl]); ecSelectionEncloseIFDEF: SetResult(VK_D, [ssShift,ssCtrl],VK_UNKNOWN,[]); ecSelectionSort: SetResult(VK_UNKNOWN, [],VK_UNKNOWN,[]); ecSelectionBreakLines: SetResult(VK_UNKNOWN, [],VK_UNKNOWN,[]);