mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 16:00:23 +02:00
cody: dictionary: check if identifier exist via CodeToolBoss.FindDeclarationInInterface
git-svn-id: trunk@33937 -
This commit is contained in:
parent
1ade9a4158
commit
0b8da71a54
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user