Fix typo in session.setUseWrapMode
This commit is contained in:
parent
f425e49b58
commit
b66b1f914d
1 changed files with 1 additions and 1 deletions
|
|
@ -648,7 +648,7 @@ var EditSession = function(text, mode) {
|
||||||
// If wrapMode is activaed, the wrapData array has to be initialized.
|
// If wrapMode is activaed, the wrapData array has to be initialized.
|
||||||
if (useWrapMode) {
|
if (useWrapMode) {
|
||||||
var len = this.getLength();
|
var len = this.getLength();
|
||||||
this.$wrapMode = [];
|
this.$wrapData = [];
|
||||||
for (i = 0; i < len; i++) {
|
for (i = 0; i < len; i++) {
|
||||||
this.$wrapData.push([]);
|
this.$wrapData.push([]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue