mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 03:36:08 +02:00
codetools: parameter hints in initialization and finalization section
git-svn-id: trunk@33198 -
This commit is contained in:
parent
bc59ea1543
commit
e8de1dd378
@ -2427,8 +2427,8 @@ var
|
||||
begin
|
||||
Result:=false;
|
||||
// check if in a begin..end block
|
||||
if (CursorNode.Desc<>ctnBeginBlock)
|
||||
and (not CursorNode.HasParentOfType(ctnBeginBlock)) then begin
|
||||
if CursorNode.GetNodeOfTypes([ctnBeginBlock,ctnInitialization,ctnFinalization])=nil
|
||||
then begin
|
||||
DebugLn(['TIdentCompletionTool.FindCodeContext.CheckContextIsParameter not in a begin block']);
|
||||
exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user