From 79639787dbaaf980994a0a4a3d8a9ade4955f677 Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 1 Feb 2012 21:46:18 +0000 Subject: [PATCH] IDEIntf: shortcut editor: added VK_ESCAPE git-svn-id: trunk@35079 - --- ideintf/propedits.pp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ideintf/propedits.pp b/ideintf/propedits.pp index b99666b9ca..ac3f13d8ec 100644 --- a/ideintf/propedits.pp +++ b/ideintf/propedits.pp @@ -4443,11 +4443,8 @@ end; { TShortCutPropertyEditor } -// MG: this is the Delphi way. Not very useful. This needs a Edit override -// and a nice dialog with grab, checkboxes... -// XXX const - ShortCuts: array[0..134] of TShortCut = ( + ShortCuts: array[0..135] of TShortCut = ( scNone, Byte('A') or scCtrl, Byte('B') or scCtrl, @@ -4582,7 +4579,8 @@ const VK_DELETE or scShift, VK_DELETE or scCtrl, VK_BACK or scAlt, - VK_BACK or scShift or scAlt); + VK_BACK or scShift or scAlt, + VK_ESCAPE); procedure TShortCutPropertyEditor.Edit; var