diff options
| author | Rowan Goemans <RB.Goemans@student.han.nl> | 2017-10-15 02:38:58 +0200 |
|---|---|---|
| committer | Rowan Goemans <RB.Goemans@student.han.nl> | 2017-10-15 02:38:58 +0200 |
| commit | 6c8a34a542e1e79903886368da19613b4ce3b237 (patch) | |
| tree | 25eca565d9bb5127932df8fe41ce6f7a80f3751e /src/CodeParser | |
| parent | df8f38308b7871f2790b5b2cc466f7ce2add4362 (diff) | |
| download | doxdocgen-6c8a34a542e1e79903886368da19613b4ce3b237.tar.gz | |
-- tslint fix v3
Diffstat (limited to 'src/CodeParser')
| -rw-r--r-- | src/CodeParser/CodeParserController.ts | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/CodeParser/CodeParserController.ts b/src/CodeParser/CodeParserController.ts index 054aa38..70941d0 100644 --- a/src/CodeParser/CodeParserController.ts +++ b/src/CodeParser/CodeParserController.ts @@ -1,12 +1,12 @@ -import { - Disposable, - Position, - Range, - TextDocumentContentChangeEvent, - TextEditor, - TextLine, - window, - workspace +import { + Disposable, + Position, + Range, + TextDocumentContentChangeEvent, + TextEditor, + TextLine, + window, + workspace, } from "vscode"; import { Config, ConfigType } from "../Config"; import CodeParser from "./CodeParser"; @@ -107,8 +107,8 @@ export default class CodeParserController { const currentPos: Position = window.activeTextEditor.selection.active; const startReplace: Position = new Position( - currentPos.line, - currentPos.character - this.triggerSequence.length + currentPos.line, + currentPos.character - this.triggerSequence.length, ); let endReplace: Position = new Position(currentPos.line, currentPos.character); |