tools/Stampfer/PeterSource1_1/DockContent/ctrlCodeStructure.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, bool treeupdate)
        {
            if (!MainF.initialized)
            {
                {
                    return;
                }
            }
            if (e!=this.m_Editor)
            {
                this.m_Editor = e;
                this.ParseCode(treeupdate);
            }
            else if (this.ItemCount == 0 && this.m_Editor != null)
            {
                this.ParseCode(treeupdate);
            }
        }
public void ActiveContentChanged ( Editor e , bool treeupdate ) { if ( ! MainF . initialized ) { { return ; } } if ( e != this . m_Editor ) { this . m_Editor = e ; this . ParseCode ( treeupdate ) ; } else if ( this . ItemCount == 0 && this . m_Editor != null ) { this . ParseCode ( treeupdate ) ; } }
Occurs when the active content is changed...
Occurs when the active content is changed ...
//if (MainF.MyActiveEditor.TabText != e.TabText) // this.m_Editor = edit;
e
Editor
treeupdate
bool
content
None