diff --git a/src/tokenized-buffer.js b/src/tokenized-buffer.js index b0ee635da..546678f57 100644 --- a/src/tokenized-buffer.js +++ b/src/tokenized-buffer.js @@ -32,6 +32,7 @@ class TokenizedBuffer { this.regexesByPattern = {} this.alive = true + this.visible = false this.id = params.id != null ? params.id : nextId++ this.buffer = params.buffer this.tabLength = params.tabLength @@ -736,6 +737,8 @@ class TokenizedBuffer { } } +module.exports.prototype.chunkSize = 50 + function selectorMatchesAnyScope (selector, scopes) { const targetClasses = selector.replace(/^\./, '').split('.') return scopes.some((scope) => {