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); }
public virtual void Goto(NavPoint pt) { this.ShowEditor(); }