CSharpEditor  1.1.2
A C# source code editor with syntax highlighting, intelligent code completion and real-time compilation error checking
CSharpEditor.Shortcut Class Reference

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...
 

Detailed Description

Represents a keyboard shortcut.

Definition at line 785 of file Editor.public.cs.

Constructor & Destructor Documentation

◆ Shortcut()

CSharpEditor.Shortcut.Shortcut ( string  name,
string  shortcuts[][] 
)

Creates a new Shortcut instance.

Parameters
nameThe name of the action performed by the shortcut (e.g. "Copy").
shortcutsThe 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.

Property Documentation

◆ Name

string CSharpEditor.Shortcut.Name
get

The name of the action performed by the shortcut.

Definition at line 790 of file Editor.public.cs.

◆ Shortcuts

string [][] CSharpEditor.Shortcut.Shortcuts
get

The keys that have to be pressed together to perform the action.

Definition at line 795 of file Editor.public.cs.


The documentation for this class was generated from the following file: