mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 20:59:08 +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:
|
ctnProcedure:
|
||||||
begin
|
begin
|
||||||
s:=IdentItem.Tool.ExtractProcHead(ItemNode,
|
try
|
||||||
[phpWithoutClassName,phpWithoutName,phpWithVarModifiers,
|
s:=IdentItem.Tool.ExtractProcHead(ItemNode,
|
||||||
phpWithParameterNames,phpWithDefaultValues,phpWithResultType,
|
[phpWithoutClassName,phpWithoutName,phpWithVarModifiers,
|
||||||
phpWithOfObject,phpWithoutSemicolon]);
|
phpWithParameterNames,phpWithDefaultValues,phpWithResultType,
|
||||||
|
phpWithOfObject,phpWithoutSemicolon]);
|
||||||
|
except
|
||||||
|
// ignore, show funciton name without header
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
ctnProperty,ctnGlobalProperty:
|
ctnProperty,ctnGlobalProperty:
|
||||||
|
Loading…
Reference in New Issue
Block a user