Header menu logo fable-electron-docs-api

EditFlags Type

Constructors

Constructor Description

EditFlags(canUndo, canRedo, canCut, canCopy, canPaste, canDelete, canSelectAll, canEditRichly)

Full Usage: EditFlags(canUndo, canRedo, canCut, canCopy, canPaste, canDelete, canSelectAll, canEditRichly)

Parameters:
    canUndo : bool - Whether the renderer believes it can undo.
    canRedo : bool - Whether the renderer believes it can redo.
    canCut : bool - Whether the renderer believes it can cut.
    canCopy : bool - Whether the renderer believes it can copy.
    canPaste : bool - Whether the renderer believes it can paste.
    canDelete : bool - Whether the renderer believes it can delete.
    canSelectAll : bool - Whether the renderer believes it can select all.
    canEditRichly : bool - Whether the renderer believes it can edit text richly.

Returns: EditFlags
canUndo : bool

Whether the renderer believes it can undo.

canRedo : bool

Whether the renderer believes it can redo.

canCut : bool

Whether the renderer believes it can cut.

canCopy : bool

Whether the renderer believes it can copy.

canPaste : bool

Whether the renderer believes it can paste.

canDelete : bool

Whether the renderer believes it can delete.

canSelectAll : bool

Whether the renderer believes it can select all.

canEditRichly : bool

Whether the renderer believes it can edit text richly.

Returns: EditFlags

Instance members

Instance member Description

this.canCopy

Full Usage: this.canCopy

Whether the renderer believes it can copy.

this.canCut

Full Usage: this.canCut

Whether the renderer believes it can cut.

this.canDelete

Full Usage: this.canDelete

Whether the renderer believes it can delete.

this.canEditRichly

Full Usage: this.canEditRichly

Whether the renderer believes it can edit text richly.

this.canPaste

Full Usage: this.canPaste

Whether the renderer believes it can paste.

this.canRedo

Full Usage: this.canRedo

Whether the renderer believes it can redo.

this.canSelectAll

Full Usage: this.canSelectAll

Whether the renderer believes it can select all.

this.canUndo

Full Usage: this.canUndo

Whether the renderer believes it can undo.

Type something to start searching.