mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
fix line number display issue (#15368)
This commit is contained in:
@@ -174,8 +174,9 @@ export default class QueryRunner extends Disposable {
|
|||||||
this._messages = [];
|
this._messages = [];
|
||||||
if (isRangeOrUndefined(input)) {
|
if (isRangeOrUndefined(input)) {
|
||||||
// Update internal state to show that we're executing the query
|
// Update internal state to show that we're executing the query
|
||||||
this._resultLineOffset = input ? input.startLineNumber : 0;
|
// startLineNumber/startColumn is 1 based, need to do a -1 to get the offset.
|
||||||
this._resultColumnOffset = input ? input.startColumn : 0;
|
this._resultLineOffset = input ? (input.startLineNumber - 1) : 0;
|
||||||
|
this._resultColumnOffset = input ? (input.startColumn - 1) : 0;
|
||||||
this._isExecuting = true;
|
this._isExecuting = true;
|
||||||
this._totalElapsedMilliseconds = 0;
|
this._totalElapsedMilliseconds = 0;
|
||||||
// TODO issue #228 add statusview callbacks here
|
// TODO issue #228 add statusview callbacks here
|
||||||
|
|||||||
Reference in New Issue
Block a user