[Lazarus] Code completion question
Michael Van Canneyt
michael at freepascal.org
Tue Jan 26 21:50:43 CET 2016
Hi,
Just curious: if I ask code completion in a class
TMyClass = Class(TMYParentClass)
Protected
Procedure Valid|
Cursor is at |. I ask the codetools to complete in order to override a
method in the parent class.
It doesn't show a procedure that it I KNOW is present in the parent class.
Then it dawned on me: the procedure exists, but is Public. I changed the
visibility to public, and then I got the procedure.
So:
do the codetools refuse to show identifiers with less restricted visibility ?
(so in a protected section, I will not get public)
Is this intentional ?
I can imagine it is confusing to the beginner and experienced dev alike...
Michael.
More information about the Lazarus
mailing list