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(); }
时间: 2024-11-29 07:12:29