public int NavigateTo() { if (location != null) { location.NavigateTo(true); // do not return the error to avoid an annoying messagebox } return(0); }
public int NavigateTo() { if (location != null) { return(location.NavigateTo(true)); } else { return(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); }
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); }