Trap the plus sign <Ctrl><Shift><+> and <Ctrl><+> on the keyboard (not the keypad)
This commit is contained in:
@@ -1818,13 +1818,15 @@ namespace Volian.Controls.Library
|
|||||||
IsControlChar = true;
|
IsControlChar = true;
|
||||||
if (e.Shift)
|
if (e.Shift)
|
||||||
{
|
{
|
||||||
|
//Console.WriteLine("keycode = {0} key value = {1}",e.KeyCode,e.KeyValue);
|
||||||
switch (e.KeyCode)
|
switch (e.KeyCode)
|
||||||
{
|
{
|
||||||
// The following keys are supported in underlying RTB (with ctrl+shift key),
|
// The following keys are supported in underlying RTB (with ctrl+shift key),
|
||||||
// but PROMS should not do anything for that functionality:
|
// but PROMS should not do anything for that functionality:
|
||||||
case Keys.Add:
|
case Keys.Add: // the plus on the key pad
|
||||||
case Keys.Subtract:
|
case Keys.Subtract:
|
||||||
case Keys.L:
|
case Keys.L:
|
||||||
|
case Keys.Oemplus: // the plus on the keyboard (not the key pad)
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -1891,6 +1893,7 @@ namespace Volian.Controls.Library
|
|||||||
case Keys.D2: // Double space text
|
case Keys.D2: // Double space text
|
||||||
case Keys.D5: // 1.5 space text
|
case Keys.D5: // 1.5 space text
|
||||||
case Keys.H: // Find (proms uses Ctrl+F for find)
|
case Keys.H: // Find (proms uses Ctrl+F for find)
|
||||||
|
case Keys.Oemplus: // plus on the keyboard (not the key pad)
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user