Fix typo in session.setUseWrapMode

This commit is contained in:
Julian Viereck 2011-02-15 19:57:33 +08:00 committed by Fabian Jakobs
commit b66b1f914d

View file

@ -648,7 +648,7 @@ var EditSession = function(text, mode) {
// If wrapMode is activaed, the wrapData array has to be initialized.
if (useWrapMode) {
var len = this.getLength();
this.$wrapMode = [];
this.$wrapData = [];
for (i = 0; i < len; i++) {
this.$wrapData.push([]);
}