IDE: catch codetool error during source-completion paint. Issue #32972

This commit is contained in:
Martin 2025-03-04 21:09:25 +01:00
parent 347c530198
commit 9f48130673

View File

@ -700,10 +700,14 @@ begin
ctnProcedure:
begin
s:=IdentItem.Tool.ExtractProcHead(ItemNode,
[phpWithoutClassName,phpWithoutName,phpWithVarModifiers,
phpWithParameterNames,phpWithDefaultValues,phpWithResultType,
phpWithOfObject,phpWithoutSemicolon]);
try
s:=IdentItem.Tool.ExtractProcHead(ItemNode,
[phpWithoutClassName,phpWithoutName,phpWithVarModifiers,
phpWithParameterNames,phpWithDefaultValues,phpWithResultType,
phpWithOfObject,phpWithoutSemicolon]);
except
// ignore, show funciton name without header
end;
end;
ctnProperty,ctnGlobalProperty: