From 7fad2a62d43eeaf6023046277e77fb260c9c54a3 Mon Sep 17 00:00:00 2001 From: mpheath Date: Fri, 13 Jan 2023 18:05:54 +1000 Subject: [PATCH] Fix exclude functions in comment zones of function list Fix exclude functions in comment zones in C++, PHP, JavaScript and Pascal. Fix #12759 (partially - issue 1 & issue 2), close #12799 --- PowerEditor/src/WinControls/FunctionList/functionParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/WinControls/FunctionList/functionParser.cpp b/PowerEditor/src/WinControls/FunctionList/functionParser.cpp index bfedaad48..bd88cc16a 100644 --- a/PowerEditor/src/WinControls/FunctionList/functionParser.cpp +++ b/PowerEditor/src/WinControls/FunctionList/functionParser.cpp @@ -735,7 +735,7 @@ void FunctionMixParser::parse(std::vector & foundInfos, size_t begin, { for (size_t i = 0, len = nonScannedZones.size(); i < len; ++i) { - _funcUnitPaser->funcParse(foundInfos, nonScannedZones[i].first, nonScannedZones[i].second, ppEditView, classStructName); + _funcUnitPaser->funcParse(foundInfos, nonScannedZones[i].first, nonScannedZones[i].second, ppEditView, classStructName, &commentZones); } } }