TextEditor: Shortcuts work again.
[GB.FORM.EDITOR] * BUG: TextEditor: Shortcuts work again.
This commit is contained in:
parent
35e9859894
commit
502b403728
1 changed files with 4 additions and 4 deletions
|
@ -218,11 +218,11 @@ Public Sub _new()
|
||||||
$cShortcut = [
|
$cShortcut = [
|
||||||
"CTRL+A": "SelectAll",
|
"CTRL+A": "SelectAll",
|
||||||
"CTRL+C": "Copy",
|
"CTRL+C": "Copy",
|
||||||
"CTRL+Ins": "Copy",
|
"CTRL+INS": "Copy",
|
||||||
"CTRL+V": "Paste",
|
"CTRL+V": "Paste",
|
||||||
"SHIFT+Ins": "Paste",
|
"SHIFT+INS": "Paste",
|
||||||
"CTRL+X": "Cut",
|
"CTRL+X": "Cut",
|
||||||
"SHIFT+Del": "Cut",
|
"SHIFT+DEL": "Cut",
|
||||||
"CTRL+Y": "Redo",
|
"CTRL+Y": "Redo",
|
||||||
"CTRL+Z": "Undo"]
|
"CTRL+Z": "Undo"]
|
||||||
Endif
|
Endif
|
||||||
|
@ -1348,7 +1348,7 @@ Public Sub View_KeyPress()
|
||||||
bCancel = Raise KeyPress
|
bCancel = Raise KeyPress
|
||||||
If bCancel Then Goto STOP_EVENT
|
If bCancel Then Goto STOP_EVENT
|
||||||
|
|
||||||
Try sAction = $cShortcut[Shortcut.FromKey()]
|
Try sAction = $cShortcut[String.UCase(Shortcut.FromKey())]
|
||||||
If sAction Then
|
If sAction Then
|
||||||
Select Case sAction
|
Select Case sAction
|
||||||
Case "Copy"
|
Case "Copy"
|
||||||
|
|
Loading…
Reference in a new issue