@@ -2077,7 +2077,7 @@ declare module monaco.editor {
20772077 /**
20782078 * Get the language associated with this model.
20792079 */
2080- getLanguageIdentifier ( ) : languages . LanguageIdentifier ;
2080+ getModeId ( ) : string ;
20812081 /**
20822082 * Get the word under or besides `position`.
20832083 * @param position The position to look for a word.
@@ -2101,7 +2101,7 @@ declare module monaco.editor {
21012101 /**
21022102 * Get the language associated with this model.
21032103 */
2104- getLanguageIdentifier ( ) : languages . LanguageIdentifier ;
2104+ getModeId ( ) : string ;
21052105 /**
21062106 * Get the word under or besides `position`.
21072107 * @param position The position to look for a word.
@@ -2286,11 +2286,11 @@ declare module monaco.editor {
22862286 /**
22872287 * Previous language
22882288 */
2289- readonly oldLanguageIdentifier : languages . LanguageIdentifier ;
2289+ readonly oldLanguage : string ;
22902290 /**
22912291 * New language
22922292 */
2293- readonly newLanguageIdentifier : languages . LanguageIdentifier ;
2293+ readonly newLanguage : string ;
22942294 }
22952295
22962296 /**
@@ -4278,15 +4278,6 @@ declare module monaco.languages {
42784278 */
42794279 removeText ?: number ;
42804280 }
4281- /**
4282- * An identifier for a registered language.
4283- */
4284- export class LanguageIdentifier {
4285- public readonly language : string ;
4286- public readonly id : number ;
4287-
4288- constructor ( language : string , id : number ) ;
4289- }
42904281
42914282 /**
42924283 * The state of the tokenizer between two lines.
0 commit comments