diff options
| author | Rowan Goemans <RB.Goemans@student.han.nl> | 2017-11-23 19:45:30 +0100 |
|---|---|---|
| committer | Rowan Goemans <RB.Goemans@student.han.nl> | 2017-11-23 19:45:30 +0100 |
| commit | 126868ba799668d94f3c34ce05d8c62b62173c2b (patch) | |
| tree | 895efc6c618741019d44f96416906f7ec32c4b4c /src | |
| parent | 1499e8e59cf044807de26f040ec597e8ebe7c211 (diff) | |
| download | doxdocgen-126868ba799668d94f3c34ce05d8c62b62173c2b.tar.gz | |
-- Fixed unused assignment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/CodeParser/CodeParserController.ts | 3 |
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)); } |