diff options
| author | Christoph Schlosser <christoph@linux.com> | 2018-02-24 10:45:06 +0100 |
|---|---|---|
| committer | Christoph Schlosser <christophschlosser@users.noreply.github.com> | 2018-02-24 11:30:16 +0100 |
| commit | bba53b05a85e4ccad2eca31124ea9d0b80b4e392 (patch) | |
| tree | dcf394eebdc149169965d8c77998fcd01d6a6f0a /src/Lang | |
| parent | bd99c6c5c78d1594ce83e31fdbb3176f49f78821 (diff) | |
| download | doxdocgen-bba53b05a85e4ccad2eca31124ea9d0b80b4e392.tar.gz | |
Customize the number of lines to get
Fix #52
Diffstat (limited to 'src/Lang')
| -rw-r--r-- | src/Lang/Cpp/CppParser.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Lang/Cpp/CppParser.ts b/src/Lang/Cpp/CppParser.ts index 9f8916a..c1a0add 100644 --- a/src/Lang/Cpp/CppParser.ts +++ b/src/Lang/Cpp/CppParser.ts @@ -274,7 +274,7 @@ export default class CppParser implements ICodeParser { logicalLine = nextLineTxt; // Get method end line - let linesToGet: number = 20; + let linesToGet: number = this.cfg.linesToGet; while (linesToGet-- > 0) { // Check for end of expression. nextLine = new Position(nextLine.line + 1, nextLine.character); nextLineTxt = this.activeEditor.document.lineAt(nextLine.line).text.trim(); |