Example #1
0
            private const int ReparseDelay = 1000;      // delay in MS before we re-parse a buffer w/ non-line changes.

            public BufferParser(ParseQueue queue, ITextBuffer buffer)
            {
                _parseQueue = queue;
                _timer      = new Timer(ReparseWorker, null, Timeout.Infinite, Timeout.Infinite);
                _buffer     = buffer;
            }
Example #2
0
 public BufferParser(ParseQueue queue, ITextBuffer buffer)
 {
     _parseQueue = queue;
     _timer = new Timer(ReparseWorker, null, Timeout.Infinite, Timeout.Infinite);
     _buffer = buffer;
 }