//
// TextField.cs: single-line text editor with Emacs keybindings
//
// Authors:
// Miguel de Icaza (miguel@gnome.org)
//
using System;
using NStack;
namespace Terminal.Gui {
///
/// An which allows passing a cancelable new text value event.
///
public class TextChangingEventArgs : EventArgs {
///
/// The new text to be replaced.
///
public ustring NewText { get; set; }
///
/// Flag which allows to cancel the new text value.
///
public bool Cancel { get; set; }
///
/// Initializes a new instance of
///
/// The new to be replaced.
public TextChangingEventArgs (ustring newText)
{
NewText = newText;
}
}
}