using System.Collections.Generic;
using Rune = System.Rune;
namespace Terminal.Gui {
///
/// Describes the current state of a which
/// is proposing autocomplete. Suggestions are based on this state.
///
public class AutocompleteContext
{
///
/// The text on the current line.
///
public List CurrentLine { get; set; }
///
/// The position of the input cursor within the .
///
public int CursorPosition { get; set; }
///
/// Creates anew instance of the class
///
public AutocompleteContext (List currentLine, int cursorPosition)
{
CurrentLine = currentLine;
CursorPosition = cursorPosition;
}
}
}