Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IEditorModel

An interface required for implementing the editor model

Hierarchy

  • IEditorModel

Index

Properties

filename

filename: string

The filename of the editor.

fixedHeight

fixedHeight: boolean

Whether the text editor has a fixed maximum height.

Notes

If true, the editor has a fixed maximum height. If false, the editor resizes to fit the content.

lineNumbers

lineNumbers: boolean

A flag to determine whether to show line numbers.

mimetype

mimetype: string

The mimetype of the text.

Notes

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

readOnly

readOnly: boolean

A flag to determine whether to allow editing.

stateChanged

stateChanged: ISignal<IEditorModel, IChangedArgs<any>>

A signal emitted when the editor model state changes.

tabSize

tabSize: number

The number of spaces to insert for each tab.

text

text: string

The text in the text editor.

Generated using TypeDoc