summaryrefslogtreecommitdiffstats
path: root/src/CodeParser/CodeParserController.ts
diff options
context:
space:
mode:
authorRowan Goemans <RB.Goemans@student.han.nl>2017-11-23 19:45:30 +0100
committerRowan Goemans <RB.Goemans@student.han.nl>2017-11-23 19:45:30 +0100
commit126868ba799668d94f3c34ce05d8c62b62173c2b (patch)
tree895efc6c618741019d44f96416906f7ec32c4b4c /src/CodeParser/CodeParserController.ts
parent1499e8e59cf044807de26f040ec597e8ebe7c211 (diff)
downloaddoxdocgen-126868ba799668d94f3c34ce05d8c62b62173c2b.tar.gz
-- Fixed unused assignment.
Diffstat (limited to 'src/CodeParser/CodeParserController.ts')
-rw-r--r--src/CodeParser/CodeParserController.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CodeParser/CodeParserController.ts b/src/CodeParser/CodeParserController.ts
index 72aafa4..496005b 100644
--- a/src/CodeParser/CodeParserController.ts
+++ b/src/CodeParser/CodeParserController.ts
@@ -111,9 +111,8 @@ export default class CodeParserController {
currentPos.character - this.triggerSequence.length,
);
- let endReplace: Position = new Position(currentPos.line, currentPos.character + 1);
const nextLineText: string = window.activeTextEditor.document.lineAt(endReplace.line + 1).text;
- endReplace = new Position(currentPos.line + 1, nextLineText.length);
+ const endReplace = new Position(currentPos.line + 1, nextLineText.length);
parser.Parse(activeEditor, event).GenerateDoc(new Range(startReplace, endReplace));
}