namespace Terminal.Gui;
/// Args for events that relate to a specific .
public class RuneCellEventArgs
{
/// Creates a new instance of the class.
/// The line.
/// The col index.
/// The unwrapped row and col index.
public RuneCellEventArgs (List line, int col, (int Row, int Col) unwrappedPosition)
{
Line = line;
Col = col;
UnwrappedPosition = unwrappedPosition;
}
/// The index of the RuneCell in the line.
public int Col { get; }
/// The list of runes the RuneCell is part of.
public List Line { get; }
///
/// The unwrapped row and column index into the text containing the RuneCell. Unwrapped means the text without
/// word wrapping or other visual formatting having been applied.
///
public (int Row, int Col) UnwrappedPosition { get; }
}