Update antedit

This commit is contained in:
lxsang
2021-06-14 19:29:33 +02:00
parent 8a46d88268
commit c05fe5d1dd
8 changed files with 7 additions and 5 deletions

View File

@ -81,7 +81,7 @@ namespace OS {
model: monaco.editor.createModel(file.cache, "textplain")
}
}
const uri = monaco.Uri.parse(file.path);
const uri = monaco.Uri.parse(file.protocol + "://antedit/file/" + file.genealogy.join("/"));
const model = monaco.editor.getModel(uri);
if(model)
{