Browse Source

Fix HotKey bug introduced by b601c2ea.

Martijn Laan 8 months ago
parent
commit
9c0305b565
2 changed files with 2 additions and 1 deletions
  1. 1 1
      Projects/Src/Compiler.SetupCompiler.pas
  2. 1 0
      whatsnew.htm

+ 1 - 1
Projects/Src/Compiler.SetupCompiler.pas

@@ -3784,7 +3784,7 @@ var
   MenuKeyCaps: array[TMenuKeyCap] of string = (
   MenuKeyCaps: array[TMenuKeyCap] of string = (
     'BkSp', 'Tab', 'Esc', 'Enter', 'Space', 'PgUp',
     'BkSp', 'Tab', 'Esc', 'Enter', 'Space', 'PgUp',
     'PgDn', 'End', 'Home', 'Left', 'Up', 'Right',
     'PgDn', 'End', 'Home', 'Left', 'Up', 'Right',
-    'Down', 'Ins', 'Del', 'Shift', 'Ctrl+', 'Alt+');
+    'Down', 'Ins', 'Del', 'Shift+', 'Ctrl+', 'Alt+');
 
 
 procedure TSetupCompiler.EnumIconsProc(const Line: PChar; const Ext: Integer);
 procedure TSetupCompiler.EnumIconsProc(const Line: PChar; const Ext: Integer);
 
 

+ 1 - 0
whatsnew.htm

@@ -33,6 +33,7 @@ For conditions of distribution and use, see <a href="files/is/license.txt">LICEN
 
 
 <ul>
 <ul>
   <li>Compiler IDE: Added mouseover tooltips for all Pascal Scripting support functions and class members showing their prototype. Always shows all classes' members instead of just those of the current object's class.</li>
   <li>Compiler IDE: Added mouseover tooltips for all Pascal Scripting support functions and class members showing their prototype. Always shows all classes' members instead of just those of the current object's class.</li>
+  <li><i>Fix:</i> In 6.4.0, using &quot;Shift+&quot; in a <tt>HotKey</tt> parameter in the [Icons] section didn't work and required &quot;Shift&quot; instead, so for example &quot;Ctrl+ShiftM&quot; instead of &quot;Ctrl+Shift+M&quot;.</li>
   <li><i>Fix:</i> In 6.4.0, a custom form shown using <tt>[Code]</tt> didn't have a taskbar button if Setup's wizard was not visible at the time.</li>
   <li><i>Fix:</i> In 6.4.0, a custom form shown using <tt>[Code]</tt> didn't have a taskbar button if Setup's wizard was not visible at the time.</li>
 </ul>
 </ul>