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.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to