コード例 #1
0
ファイル: ScriptFile.cs プロジェクト: weimingtom/NekoKun
        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);
        }
コード例 #2
0
ファイル: AbstractFile.cs プロジェクト: NekoProject/NekoKun
 public virtual void Goto(NavPoint pt)
 {
     this.ShowEditor();
 }
コード例 #3
0
ファイル: AbstractFile.cs プロジェクト: weimingtom/NekoKun
 public virtual void Goto(NavPoint pt)
 {
     this.ShowEditor();
 }