Consider 2,000 lines to be a large file for hints.

This is a fix for #4922... only part of Document.js was being processed
because it was considered a "large file" at 250 lines. 250 lines seems
a bit too conservative. We'll want to see if there are complaints about
memory usage and I think we'll also want to experiment a bit with how
we manage Tern.

But, it seems to me that a file the size of Document.js should not be
getting truncated hints.
This commit is contained in:
Kevin Dangoor committed 2013-10-02 15:54:15 -04:00
1 parent 3f9f891cfc
commit a73b7c6fe7
1 file changed
+1 -1
@@ -59,7 +59,7 @@ define(function (require, exports, module) {
var MAX_HINTS = 30, // how often to reset the tern server
LARGE_LINE_CHANGE = 100,
LARGE_LINE_COUNT = 250,
LARGE_LINE_COUNT = 2000,
OFFSET_ZERO = {line: 0, ch: 0};
/**