// // // // // $Revision$ // using System; using ICSharpCode.Core; namespace ICSharpCode.XmlEditor { /// /// Removes the currently selected text node from the XML tree. /// public class RemoveTextNodeCommand : AbstractMenuCommand { public override void Run() { XmlTreeViewContainerControl view = Owner as XmlTreeViewContainerControl; if (view != null) { view.RemoveTextNode(); } } } }