package monaco_jsoo

  1. Overview
  2. Docs
type _t
module Option : sig ... end

Options for the editor functions and methods.

module Id : Mid.S

Calls monaco.editor.create to create an editor over the given DOM element.

val updateOptions : t -> [< Option.editor | Option.globalEditor ] Moption.t array -> unit

Call updateOptions method to update options of the editor

val getModel : t -> TextModel.t

getModel t returns the text model of the editor t

val getId : t -> Id.t

https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IEditor.html#getId

val deltaDecorations : old:Decoration.Id.t array -> new_:Decoration.deltaDecoration_t array -> t -> Decoration.Id.t array

https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.ICodeEditor.html#deltaDecorations