cody: dictionary: check if identifier exist via CodeToolBoss.FindDeclarationInInterface

git-svn-id: trunk@33937 -
This commit is contained in:
mattias 2011-12-04 10:58:25 +00:00
parent 1ade9a4158
commit 0b8da71a54

View File

@ -1122,7 +1122,7 @@ begin
end;
// check if identifier still exist
if not CodeToolBoss.FindDeclarationOfPropertyPath(NewUnitCode,NewIdentifier,
if not CodeToolBoss.FindDeclarationInInterface(NewUnitCode,NewIdentifier,
NewCode, NewX, NewY, NewTopLine)
then begin
IDEMessageDialog(crsIdentifierNotFound,
@ -1199,7 +1199,7 @@ begin
exit;
end;
if not CodeToolBoss.FindDeclarationOfPropertyPath(NewUnitCode,NewIdentifier,
if not CodeToolBoss.FindDeclarationInInterface(NewUnitCode,NewIdentifier,
NewCode, NewX, NewY, NewTopLine)
then begin
IDEMessageDialog(crsIdentifierNotFound,