首页 > 代码库 > codejumper的跳转代码

codejumper的跳转代码

        public void JumpToSource(vsCMPart location = vsCMPart.vsCMPartNavigate)        {            TextPoint startPoint = Original.GetStartPoint(location);            Document openDoc = _appConfig.HookInformation.Dte.ActiveDocument.ProjectItem.Document;            ((TextSelection) openDoc.Selection).MoveToPoint(startPoint);            startPoint.TryToShow();            openDoc.Activate();        }

 

codejumper的跳转代码