Preparing search index...
The search index is not available
Monaco Editor API
Monaco Editor API
editor
onDidChangeModelLanguage
Function onDidChangeModelLanguage
on
Did
Change
Model
Language
(
listener
)
:
IDisposable
Emitted when a different language is set to a model.
Parameters
listener
:
(
(
e
)
=>
void
)
(
e
)
:
void
Parameters
e
:
{
model
:
ITextModel
;
oldLanguage
:
string
;
}
Readonly
model
:
ITextModel
Readonly
old
Language
:
string
Returns
void
Returns
IDisposable
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Monaco Editor API
Loading...
Emitted when a different language is set to a model.