public EnumTabCompletionSource(Type parseType) : base(parseType) { manager = new CycledCompletionManager(); }
/// <summary> /// Creates a new completion source given an enumeration of string candidates /// </summary> /// <param name="candidates"></param> public SimpleTabCompletionSource(IEnumerable<string> candidates) { this.globalCandidates = candidates.OrderBy(s => s); this.manager = new CycledCompletionManager(); this.MinCharsBeforeCyclingBegins = 3; }