public LogicalContextTracker(int preContext, int postContext) { this.preContext = preContext; this.postContext = postContext; this.collectedContext = new SelectStringCommand.CircularBuffer <ContextEntry>((preContext + postContext) + 1); this.emitQueue = new List <MatchInfo>(); }
public DisplayContextTracker(int preContext, int postContext) { this.preContext = preContext; this.postContext = postContext; this.collectedPreContext = new SelectStringCommand.CircularBuffer <string>(preContext); this.collectedPostContext = new List <string>(postContext); this.emitQueue = new List <MatchInfo>(); this.Reset(); }