Ejemplo n.º 1
0
 public int NavigateTo()
 {
     if (location != null)
     {
         location.NavigateTo(true);  // do not return the error to avoid an annoying messagebox
     }
     return(0);
 }
Ejemplo n.º 2
0
 public int NavigateTo()
 {
     if (location != null)
     {
         return(location.NavigateTo(true));
     }
     else
     {
         return(0);
     }
 }
Ejemplo n.º 3
0
        public void NavigateToLocation(string projectName, string fileName, int startLine, int startColumn, int endLine, int endColumn, bool highlight)
        {
            if (projectName == null || projectName.Length == 0)
            {
                projectName = this.ProjectName;
            }
            if (fileName == null || fileName.Length == 0)
            {
                fileName = this.FilePath;
            }
            Location location = new Location(projectName, fileName, startLine, startColumn, endLine, endColumn);

            location.NavigateTo(highlight);
        }
Ejemplo n.º 4
0
 public void NavigateToLocation(string projectName, string fileName, int startLine, int startColumn, int endLine, int endColumn, bool highlight)
 {
   if (projectName == null || projectName.Length == 0) projectName = this.ProjectName;
   if (fileName == null || fileName.Length == 0) fileName = this.FilePath;
   Location location = new Location(projectName, fileName, startLine, startColumn, endLine, endColumn);
   location.NavigateTo(highlight);
 }