misc fixes
This commit is contained in:
parent
a910b8ee18
commit
4cb1e7b849
3 changed files with 20 additions and 18 deletions
|
|
@ -952,8 +952,8 @@ var EditSession = function(text, mode) {
|
|||
if (!$isPlaceholder) {
|
||||
this.$options.wrapMethod.set.call(this, this.$wrapMethod);
|
||||
this.$setFolding(mode.foldingRules);
|
||||
this._emit("changeMode");
|
||||
this.bgTokenizer.start(0);
|
||||
this._emit("changeMode");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue