private void MarkError(ErrorDetails _errorDetails) { ignoreSelChange = true; try { txtJson.Select(Math.Max(0, _errorDetails.Position - 1), 10); txtJson.ScrollToCaret(); } finally { ignoreSelChange = false; } }
public void ShowInfo(ErrorDetails error) { ShowInfo(error.Error); lblError.Text = error.Error; lblError.Tag = error; lblError.Enabled = true; tabControl.SelectedTab = pageTextView; }
private void MarkError(ErrorDetails _errorDetails) { txtJson.Select(Math.Max(0, _errorDetails.Position - 1), 10); txtJson.ScrollToCaret(); }