/// <summary> /// /// </summary> /// <param name="se"></param> /// <param name="strScript"></param> public ScriptEditor(ScriptEngine se, string strScript) { // // Required for Windows Form Designer support // InitializeComponent(); // Non-Designer initialization m_se = se; m_se.CompileError += new CompileErrorEventHandler(OnCompileError); Script = strScript; m_tbwtr = new TextBoxWriter(rtbOutput); // m_tbwtr.WriteLine("s: {0}, l: {1}", rtbEdit.SelectionStart, rtbEdit.SelectionLength); }