The code assistant does show all possible types, consts, built in functions etc, instead of only the members of the record (as one would expect) when typing in a "." to select one of the record members, e.g.:
Code: Select all
type TTest = record
aaa: byte;
bbb: byte;
end;
var Test: array[2] of TTest;
...
Test[0]. // <--- at this moment the whole bunch is shown...
If the variable is a simple record one the behaviour is ok:
Code: Select all
var Test : TTest;
...
Test. // <-- at this moment only the members of type TTest are shown by the code assistant as expected.
This phenomenon is also valid for mP for PIC.
Thanks in advance!