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