Change Document 'change' event to send an array of change records rather than a linked list, matching v4 'changes' event

This commit is contained in:
Narciso Jaramillo committed 2014-02-21 12:59:56 -08:00
1 parent 9abbbaeb4c
commit 87d7bb9e9f
9 files changed
+137 -113

No files matched your search

@@ -453,7 +453,7 @@ define(function (require, exports, module) {
// type has changed since the last hint computation
if (this.needNewHints(session)) {
if (key) {
ScopeManager.handleFileChange({from: cursor, to: cursor, text: [key]});
ScopeManager.handleFileChange([{from: cursor, to: cursor, text: [key]}]);
ignoreChange = true;
}