tools/Stampfer/PeterSource1_1/DockContent/ctrlGothicData.cs
/// <summary>
/// Occurs when the active content is changed...
/// </summary>
/// <param name="content">New Content</param>
// public void ActiveContentChanged (IDockContent content)
Occurs when the active content is changed
Occurs when the active content is changed
public void ActiveContentChanged(Editor e)
        {
            DockContent d = (DockContent)content;
            TextEditorControl edit = null;
            if (edit != this.m_Editor)
            if (e!=this.m_Editor)
            {
                this.m_Editor = edit;
                this.m_Editor = e;
                this.ParseCode();
            }
            if (this.ItemCount == 0 && this.m_Editor != null)
            {
                this.ParseCode();
            }
        }
public void ActiveContentChanged ( Editor e ) { if ( e != this . m_Editor ) { this . m_Editor = e ; this . ParseCode ( ) ; } if ( this . ItemCount == 0 && this . m_Editor != null ) { this . ParseCode ( ) ; } }
Occurs when the active content is changed...
Occurs when the active content is changed ...
// //  DockContent d = (DockContent)content; //  TextEditorControl edit = null; /* foreach (Control c in d.Controls)
            {
              

                if (c.GetType().ToString().Equals(typeof(TextEditorControl).ToString()))
                {
                   
                    edit = (TextEditorControl)c;
                    break;
                }
            }*/ //if (edit != this.m_Editor) // this.m_Editor = edit;
e
Editor
content
None