update modelist extension
This commit is contained in:
parent
635da1f2ea
commit
35563c5e84
7 changed files with 110 additions and 233 deletions
|
|
@ -51,7 +51,7 @@ function initDoc(file, path, doc) {
|
|||
session.setUseWrapMode(true);
|
||||
session.setWrapLimitRange(80, 80);
|
||||
}
|
||||
var mode = modelist.getModeFromPath(path);
|
||||
var mode = modelist.getModeForPath(path);
|
||||
session.modeName = mode.name;
|
||||
session.setMode(mode.mode);
|
||||
return session;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue