Skip to content

Commit

Permalink
issue with strikethrough on multiline comments, fixes #46
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-bond committed Mar 20, 2018
1 parent c5edd8d commit c4372e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class Parser {
// Find the line
let line;
while (line = commentRegEx.exec(commentBlock)) {
let startPos = activeEditor.document.positionAt(match.index + line.index);
let startPos = activeEditor.document.positionAt(match.index + line.index + line[2].length);
let endPos = activeEditor.document.positionAt(match.index + line.index + line[0].length);
let range: vscode.DecorationOptions = { range: new vscode.Range(startPos, endPos) };

Expand Down

0 comments on commit c4372e7

Please sign in to comment.