private void ErrorBoxCurrentSunQuery_OnGoToErrorPosition(object sender, EventArgs e) { BoxSqlCurrentSubQuery.Focus(); if (_errorPositionCurrentSubQuery == -1) { return; } BoxSqlCurrentSubQuery.ScrollToPosition((_errorPositionCurrentSubQuery)); BoxSqlCurrentSubQuery.CaretOffset = _errorPositionCurrentSubQuery; }