add options for theme and mode

This commit is contained in:
nightwing 2013-12-04 01:48:18 +04:00
commit 10e2c3049c
3 changed files with 20 additions and 7 deletions

View file

@ -2534,6 +2534,10 @@ config.defineOptions(EditSession.prototype, "session", {
set: function(val) {this.doc.setNewLineMode(val)},
get: function() {return this.doc.getNewLineMode()},
handlesSet: true
},
mode: {
set: function(val) { this.setMode(val) },
get: function() { return this.$modeId }
}
});