Namespace: ShortcutItems

Enumeration

names

static

string

Object holding the names of the default shortcut items.

Value

ESCAPE

DELETE

COPY

CUT

PASTE

UNDO

REDO

Property

names

static

string

Object holding the names of the default shortcut items.

Value

ESCAPE

DELETE

COPY

CUT

PASTE

UNDO

REDO

Methods

registerCopy

static

registerCopy()

Keyboard shortcut to copy a block on ctrl+c, cmd+c, or alt+c.

registerCut

static

registerCut()

Keyboard shortcut to copy and delete a block on ctrl+x, cmd+x, or alt+x.

registerDefaultShortcuts

package   static

registerDefaultShortcuts()

Registers all default keyboard shortcut item. This should be called once per instance of KeyboardShortcutRegistry.

registerDelete

static

registerDelete()

Keyboard shortcut to delete a block on delete or backspace

registerEscape

static

registerEscape()

Keyboard shortcut to hide chaff on escape.

registerPaste

static

registerPaste()

Keyboard shortcut to paste a block on ctrl+v, cmd+v, or alt+v.

registerRedo

static

registerRedo()

Keyboard shortcut to redo the previous action on ctrl+shift+z, cmd+shift+z, or alt+shift+z.

registerUndo

static

registerUndo()

Keyboard shortcut to undo the previous action on ctrl+z, cmd+z, or alt+z.