diff --git a/src/BackgroundTokenizer.js b/src/BackgroundTokenizer.js index 560d7a8b..06ed59ac 100644 --- a/src/BackgroundTokenizer.js +++ b/src/BackgroundTokenizer.js @@ -73,6 +73,7 @@ ace.BackgroundTokenizer.prototype.start = function(startRow) { if (!this.running) { clearTimeout(this.running); + // pretty long delay to prevent the tokenizer from interfering with the user this.running = setTimeout(this._worker, 200); } };