Exemple #1
0
        public override void Goto(NavPoint pt)
        {
            ScriptFileNavPoint s = pt as ScriptFileNavPoint;

            if (s != null)
            {
                this.ShowEditor();
                try
                {
                    (this.editor as ScriptEditor).editor.Lines[s.LineNo].Select();
                    if (s.Keyword != null)
                    {
                        (this.editor as ScriptEditor).editor.FindReplace.HighlightAll((this.editor as ScriptEditor).editor.FindReplace.FindAll(s.Keyword));
                    }
                    (this.editor as ScriptEditor).editor.Focus();
                }
                catch { }
                return;
            }
            base.Goto(pt);
        }
Exemple #2
0
 public virtual void Goto(NavPoint pt)
 {
     this.ShowEditor();
 }
Exemple #3
0
 public virtual void Goto(NavPoint pt)
 {
     this.ShowEditor();
 }