Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IEditorOptions

Interface that must be implemented to set defaults on an EditorModel.

Hierarchy

  • IEditorOptions

Index

Properties

Optional filename

filename: string

The filename of the editor.

Optional fixedHeight

fixedHeight: boolean

Whether the text editor has a fixed maximum height.

Optional lineNumbers

lineNumbers: boolean

A flag to determine whether to show line numbers.

Optional mimetype

mimetype: string

The mimetype of the text.

Notes

The mimetype is used to set the syntax highlighting, for example.

Optional readOnly

readOnly: boolean

A flag to determine whether to allow editing.

Optional tabSize

tabSize: number

The number of spaces to insert for each tab.

Optional text

text: string

The initial text in the text editor.

Generated using TypeDoc