CSharpEditor
1.1.2
A C# source code editor with syntax highlighting, intelligent code completion and real-time compilation error checking
|
Represents a keyboard shortcut. More...
Public Member Functions | |
Shortcut (string name, string[][] shortcuts) | |
Creates a new Shortcut instance. More... | |
Properties | |
string | Name [get] |
The name of the action performed by the shortcut. More... | |
string[][] | Shortcuts [get] |
The keys that have to be pressed together to perform the action. More... | |
Represents a keyboard shortcut.
Definition at line 785 of file Editor.public.cs.
CSharpEditor.Shortcut.Shortcut | ( | string | name, |
string | shortcuts[][] | ||
) |
Creates a new Shortcut instance.
name | The name of the action performed by the shortcut (e.g. "Copy"). |
shortcuts | The keys that have to be pressed together to perform the action (e.g. [ [ "Ctrl", "C" ], [ "Ctrl", "Ins" ] ] to specify that either Ctrl+C or Ctrl+Ins can be used. "Ctrl" will automatically be converted to "Cmd" on macOS. |
Definition at line 802 of file Editor.public.cs.
|
get |
The name of the action performed by the shortcut.
Definition at line 790 of file Editor.public.cs.
|
get |
The keys that have to be pressed together to perform the action.
Definition at line 795 of file Editor.public.cs.