public void SetGoToPositions(List <RunShellCommand.Position> positions) { goToNodes = null; lastGoToNode = null; lastOmniSharpUsages = null; lastOmniSharpUsage = -1; lastCommandPositions = positions; lastCommandPosition = null; }
public void SetGoToTags(List <Node> nodes) { goToNodes = nodes; lastGoToNode = null; lastOmniSharpUsages = null; lastOmniSharpUsage = -1; lastCommandPositions = null; lastCommandPosition = null; }
public void GoToTag(RunShellCommand.Position position) { lastCommandPosition = position; if (string.IsNullOrEmpty(position.fileName) || position.fileName.Trim() == "") { mainForm.NavigateTo(position.place, position.place); return; } string fullPath = null; try { fullPath = Path.GetFullPath(position.fileName); } catch { mainForm.Dialogs.ShowInfo("Error", "Incorrect path: " + position.fileName); return; } mainForm.NavigateTo(fullPath, position.place, position.place); }