mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 04:48:36 +02:00
IDE: catch codetool error during source-completion paint. Issue #32972
(cherry picked from commit 9f48130673
)
This commit is contained in:
parent
be936b51f3
commit
9b853148ce
@ -657,10 +657,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