12345678910111213141516171819202122232425262728293031 |
- //
- // TextField.cs: single-line text editor with Emacs keybindings
- //
- // Authors:
- // Miguel de Icaza ([email protected])
- //
- using System;
- using NStack;
- namespace Terminal.Gui {
- /// <summary>
- /// Event args for the <see cref="TextField.TextChanged"/> event
- /// </summary>
- public class TextChangedEventArgs : EventArgs {
- /// <summary>
- /// Creates a new instance of the <see cref="TextChangedEventArgs"/> class
- /// </summary>
- /// <param name="oldValue"></param>
- public TextChangedEventArgs (ustring oldValue)
- {
- OldValue = oldValue;
- }
- /// <summary>
- /// The old value before the text changed
- /// </summary>
- public ustring OldValue { get; }
- }
- }
|