We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01da755 commit 87d0a29Copy full SHA for 87d0a29
Rubberduck.Parsing/ParserRuleContextExtensions.cs
@@ -20,7 +20,7 @@ public static Selection GetSelection(this ParserRuleContext context)
20
var startLine = context.Start.Line == 0 ? 1 : context.Start.Line;
21
var startCol = context.Start.Column + 1;
22
var endLine = context.Stop.Line == 0 ? 1 : context.Stop.Line;
23
- var endCol = context.Stop.Column + context.Stop.Text.Length;
+ var endCol = context.Stop.Column + context.Stop.Text.Length + 1;
24
25
return new Selection(
26
startLine,
0 commit comments