Protected
_Protected
Readonly
diffProtected
Readonly
editorProtected
Readonly
factoriesProtected
Readonly
fileProtected
Readonly
keybindingProtected
Readonly
m2pProtected
Readonly
openerProtected
Readonly
p2mProtected
saveProtected
Readonly
saveProtected
Readonly
servicesProtected
Readonly
workspaceStatic
inlineProtected
diffProtected
preferenceProtected
createOptional
options: MonacoDiffEditor.IOptionsCreates an instance of the standard MonacoEditor with a StandaloneCodeEditor as its Monaco delegate. Among other differences, these editors execute basic actions like typing or deletion via commands that may be overridden by extensions.
Optional
options: MonacoEditor.IOptionsProtected
createProtected
createProtected
createProtected
createCreates an instance of the standard MonacoEditor with a CodeEditorWidget as its Monaco delegate. In addition to the service customizability of the StandaloneCodeEditor,This editor allows greater customization the editor contributions active in the widget. See ICodeEditorWidgetOptions.contributions.
Optional
options: MonacoEditor.IOptionsOptional
widgetOptions: ICodeEditorWidgetOptionsProtected
doProtected
doProtected
formatProtected
getProtected
injectProtected
insertProtected
interceptIntercept internal Monaco open calls and delegate to OpenerService.
Optional
monacoOptions: OpenInternalOptions | OpenExternalOptionsOptional
options: SaveOptionsProtected
setProtected
shouldProtected
toProtected
updateOptional
event: EditorPreferenceChangeOptional
resourceUri: stringProtected
updateOptional
event: EditorPreferenceChangeProtected
update
Returns the last focused MonacoEditor. It takes into account inline editors as well. If you are interested only in standalone editors then use
MonacoEditor.getCurrent(EditorManager)