mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 09:35:38 -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 = [];
|
||||
if (isRangeOrUndefined(input)) {
|
||||
// Update internal state to show that we're executing the query
|
||||
this._resultLineOffset = input ? input.startLineNumber : 0;
|
||||
this._resultColumnOffset = input ? input.startColumn : 0;
|
||||
// startLineNumber/startColumn is 1 based, need to do a -1 to get the offset.
|
||||
this._resultLineOffset = input ? (input.startLineNumber - 1) : 0;
|
||||
this._resultColumnOffset = input ? (input.startColumn - 1) : 0;
|
||||
this._isExecuting = true;
|
||||
this._totalElapsedMilliseconds = 0;
|
||||
// TODO issue #228 add statusview callbacks here
|
||||
|
||||
Reference in New Issue
Block a user