Readonly
editorReadonly
onThis event is fired when the content of the saveable changes.
While onDirtyChanged
is fired to notify the UI that the widget is dirty,
onContentChanged
is used for the auto save throttling.
Readonly
onThis event is fired when the content of the dirty
variable changes.
Readonly
viewDispose this object.
Optional
options: SaveOptionsSerializes the full state of the saveable item to a binary buffer.
Static
create
copied from https://github.com/microsoft/vscode/blob/53eac52308c4611000a171cc7bf1214293473c78/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.ts