codetools: identifier completion: removed property variable form useful identifiers for class interfaces and global properties

git-svn-id: trunk@13339 -
This commit is contained in:
mattias 2007-12-15 13:05:44 +00:00
parent b9e3bc84b4
commit c436ebb4f4

View File

@ -1032,7 +1032,8 @@ begin
0,nil,nil,ctnProcedure);
CurrentIdentifierList.Add(NewItem);
end;
if UpAtomIs('READ') or UpAtomIs('WRITE') then begin
if (UpAtomIs('READ') or UpAtomIs('WRITE'))
and (Context.Node.GetNodeOfType(ctnClass)<>nil) then begin
// add the default class completion 'read'/'write' specifier variable
NewItem:=TIdentifierListItem.Create(
icompUnknown,true,0,