fix model markers

- monaco depreciated model.getModeId() replaced with model._languageId
This commit is contained in:
Steve-Mcl 2022-04-10 09:13:41 +01:00
parent c30aedd309
commit 8f013776df
1 changed files with 1 additions and 1 deletions

View File

@ -1151,7 +1151,7 @@ RED.editor.codeEditor.monaco = (function() {
try {
var _model = ed.getModel();
if (_model !== null) {
var id = _model.getModeId(); // e.g. javascript
var id = _model._languageId; // e.g. javascript
var ra = _model._associatedResource.authority; //e.g. model
var rp = _model._associatedResource.path; //e.g. /18
var rs = _model._associatedResource.scheme; //e.g. inmemory