diff --git a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.cs b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.cs index 91ae4fac..04bad127 100644 --- a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.cs +++ b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.cs @@ -353,10 +353,10 @@ namespace ROEditor private System.Windows.Forms.MenuItem menuEditDelete; private System.Windows.Forms.MenuItem menuEditSelAll; private TreeNode LastSelectedNode; - private TextBox _CurrentTextBox; // currently selected TextBox field + private RichTextBox _CurrentTextBox; // currently selected TextBox field public static string[] PCChildren; //C2021-026 list of Parent/Child Children - public TextBox CurrentTextBox + public RichTextBox CurrentTextBox { get { return _CurrentTextBox; } set { _CurrentTextBox = value; } @@ -1107,14 +1107,14 @@ namespace ROEditor protected void ctlXMLEdit2_ClickControl(object sender, EventArgs e) { - TextBox tmpTxtbx = new TextBox(); + RichTextBox tmpTxtbx = new RichTextBox(); CurrentTextBox = null; roTreeView_ResetEditMenu(); if (sender.GetType() == tmpTxtbx.GetType()) { - tmpTxtbx = (TextBox)sender; + tmpTxtbx = (RichTextBox)sender; CurrentTextBox = tmpTxtbx; // the text box currently selected if (CurrentTextBox.Multiline)