ReadonlyeditorReadonlyonThis 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.
ReadonlyonThis event is fired when the content of the dirty variable changes.
ReadonlyviewDispose this object.
Optionaloptions: SaveOptionsSerializes the full state of the saveable item to a binary buffer.
Staticcreate
copied from https://github.com/microsoft/vscode/blob/53eac52308c4611000a171cc7bf1214293473c78/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.ts