namespace Terminal.Gui { /// /// A replacement suggestion made by /// public class Suggestion { /// /// The number of characters to remove at the current cursor position /// before adding the /// public int Remove { get; } /// /// The user visible description for the . Typically /// this would be the same as but may vary in advanced /// use cases (e.g. Title= "ctor", Replacement = "MyClass()\n{\n}") /// public string Title { get; } /// /// The replacement text that will be added /// public string Replacement { get; } /// /// Creates a new instance of the class. /// /// /// /// User visible title for the suggestion or null if the same /// as . public Suggestion (int remove, string replacement, string title = null) { Remove = remove; Replacement = replacement; Title = title ?? replacement; } } }