mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-26 09:35:38 -05:00
fix edge case for single batch multi line (#540)
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser
|
||||
// Generate the first batch definition list
|
||||
int startLine = batchInfos[0].startLine + 1; //positions is 0 index based
|
||||
int endLine = startLine;
|
||||
int lineDifference = startLine - 1;
|
||||
int lineDifference = 0;
|
||||
int endColumn;
|
||||
int offset = offsets[0];
|
||||
int startColumn = batchInfos[0].startColumn;
|
||||
|
||||
Reference in New Issue
Block a user