diff --git a/bin/app/data/src/sample/header.h b/bin/app/data/src/sample/header.h new file mode 100644 index 00000000..1fc7f1d7 --- /dev/null +++ b/bin/app/data/src/sample/header.h @@ -0,0 +1,3 @@ + +// nothing here +// except for text diff --git a/src/lib/component/controller/CodeController.cpp b/src/lib/component/controller/CodeController.cpp index ef30137e..98f6141e 100644 --- a/src/lib/component/controller/CodeController.cpp +++ b/src/lib/component/controller/CodeController.cpp @@ -174,7 +174,7 @@ std::vector CodeController::getSnippetsForActiveTok } ); - if (isDeclarationFile || collection->getTokenLocationFileCount() < 5) + if (isDeclarationFile || collection->getTokenLocationFileCount() < 5 || file->isWholeCopy) { std::vector fileSnippets = getSnippetsForActiveTokenLocationsInFile(file);