Make things work again afte rebasing.
This commit is contained in:
parent
2c9e4f7476
commit
acc318af90
2 changed files with 1 additions and 7 deletions
|
|
@ -76,12 +76,6 @@ var EditSession = function(text, mode) {
|
|||
this.setMode(mode);
|
||||
else
|
||||
this.setMode(new TextMode());
|
||||
|
||||
// Set the initial foldData content.
|
||||
var foldData = this.$foldData = [];
|
||||
for (var row = 0; row < this.doc.$lines.length; row++) {
|
||||
foldData.push(false);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -465,7 +465,7 @@ var Text = function(parentEl) {
|
|||
});
|
||||
} else {
|
||||
if (isNewRow) {
|
||||
tokens = this.tokenizer.getTokens(row, row)[0].tokens;
|
||||
tokens = this.session.getTokens(row, row)[0].tokens;
|
||||
}
|
||||
if (tokens.length != 0) {
|
||||
addTokens(tokens, lastColumn, column);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue