add options for theme and mode
This commit is contained in:
parent
6285bf5d5a
commit
10e2c3049c
3 changed files with 20 additions and 7 deletions
|
|
@ -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 }
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue