using System.Collections.Generic; using Rune = System.Rune; namespace Terminal.Gui { /// /// Generates autocomplete based on a given cursor location within a string /// public interface ISuggestionGenerator { /// /// Generates autocomplete based on a given /// IEnumerable GenerateSuggestions (AutocompleteContext context); /// /// Returns if is a character that /// would continue autocomplete suggesting. Returns if it /// is a 'breaking' character (i.e. terminating current word boundary) /// bool IsWordChar (Rune rune); } }