// TextView.cs: multi-line text editing using System; namespace Terminal.Gui { /// /// Event arguments for events for when the contents of the TextView change. E.g. the event. /// public class ContentsChangedEventArgs : EventArgs { /// /// Creates a new instance. /// /// Contains the row where the change occurred. /// Contains the column where the change occured. public ContentsChangedEventArgs (int currentRow, int currentColumn) { Row = currentRow; Col = currentColumn; } /// /// /// Contains the row where the change occurred. /// public int Row { get; private set; } /// /// Contains the column where the change occurred. /// public int Col { get; private set; } } }