MG: fixed property completion of stored fuctions

git-svn-id: trunk@1633 -
This commit is contained in:
lazarus 2002-04-24 14:31:16 +00:00
parent 93afe8a598
commit f7aa303653

View File

@ -116,7 +116,7 @@ function TCodeCompletionCodeTool.ProcExistsInCodeCompleteClass(
const NameAndParams: string): boolean;
// NameAndParams should be uppercase and contains the proc name and the
// parameter list without names and default values
// and should not contain any comments, result types
// and should not contain any comments and no result type
var ANodeExt: TCodeTreeNodeExtension;
begin
Result:=false;
@ -732,7 +732,7 @@ var AccessParam, AccessParamPrefix, CleanAccessFunc, AccessFunc,
AccessParam:=copy(Src,Parts[ppName].StartPos,
Parts[ppName].EndPos-Parts[ppName].StartPos)
+BeautifyCodeOpts.PropertyStoredIdentPostfix;
CleanAccessFunc:=UpperCaseStr(AccessParam);
CleanAccessFunc:=UpperCaseStr(AccessParam)+';';
// check if procedure exists
if (not ProcExistsInCodeCompleteClass(CleanAccessFunc))
and (not VarExistsInCodeCompleteClass(CleanAccessFunc))