mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 01:08:12 +02:00
IDE: catch codetool error during source-completion paint. Issue #32972
This commit is contained in:
parent
347c530198
commit
9f48130673
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user