identifier completion ignores protected/private properties
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
See the unit below, place caret after the incomplete identifier "Ba"
Press shift ctrl c, for completion.
the property Bar is not in the list of possible completions
- If it is a function or variable, it works
- if it is public, it works
But any property, protected or private (in case of protected, this includes cases where the property is in the base class) does not work.
Once inserted by hand, jump to declaration works.
Additional information:
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TFoo }
TFoo = class
private
FBar: Integer;
protected
property Bar: Integer read FBar;
public
procedure Test;
end;
implementation
procedure TFoo.Test;
var i : integer;
begin
i := Ba
end;
end.