codetools: identifier completion: implemented completing method declaration when cursor started name, bug #14078

git-svn-id: trunk@20765 -
This commit is contained in:
mattias 2009-06-29 18:56:28 +00:00
parent 7fc09eb060
commit 2e9f5cede4

View File

@ -1642,7 +1642,8 @@ var
}
Can:=true;
end
else if (Node.Desc=ctnProcedure) and (not NodeIsMethodBody(Node))
else if (((Node.Desc=ctnProcedure) and (not NodeIsMethodBody(Node)))
or ((Node.Desc=ctnProcedureHead) and (not NodeIsMethodBody(Node.Parent))))
and (not (CurrentIdentifierList.StartAtomBehind.Flag
in [cafEdgedBracketOpen,cafRoundBracketOpen]))
then begin