diff options
Diffstat (limited to 'src/CodeParser')
| -rw-r--r-- | src/CodeParser/CParser/CParser.ts | 2 | ||||
| -rw-r--r-- | src/CodeParser/CodeParser.ts | 3 | ||||
| -rw-r--r-- | src/CodeParser/CodeParserController.ts | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/CodeParser/CParser/CParser.ts b/src/CodeParser/CParser/CParser.ts index b9219c7..9ec7e14 100644 --- a/src/CodeParser/CParser/CParser.ts +++ b/src/CodeParser/CParser/CParser.ts @@ -113,7 +113,7 @@ export default class CParser implements ICodeParser { /** * @inheritdoc */ - public Parse(activeEdit: TextEditor, event: TextDocumentContentChangeEvent): IDocGen { + public Parse(activeEdit: TextEditor): IDocGen { this.activeEditor = activeEdit; this.activeSelection = this.activeEditor.selection.active; diff --git a/src/CodeParser/CodeParser.ts b/src/CodeParser/CodeParser.ts index 5d0d0bf..cc2c709 100644 --- a/src/CodeParser/CodeParser.ts +++ b/src/CodeParser/CodeParser.ts @@ -4,7 +4,6 @@ export default interface ICodeParser { /** * @param {TextEditor} activeEditor The open active Editor where the event came from - * @param {TextDocumentContentChangeEvent} event Something in the document changed */ - Parse(activeEditor: TextEditor, event: TextDocumentContentChangeEvent); + Parse(activeEditor: TextEditor); } diff --git a/src/CodeParser/CodeParserController.ts b/src/CodeParser/CodeParserController.ts index f4c07de..7eae9c0 100644 --- a/src/CodeParser/CodeParserController.ts +++ b/src/CodeParser/CodeParserController.ts @@ -114,6 +114,6 @@ export default class CodeParserController { const nextLineText: string = window.activeTextEditor.document.lineAt(startReplace.line + 1).text; const endReplace = new Position(currentPos.line + 1, nextLineText.length); - parser.Parse(activeEditor, event).GenerateDoc(new Range(startReplace, endReplace)); + parser.Parse(activeEditor).GenerateDoc(new Range(startReplace, endReplace)); } } |