On 5/10/06, Alexander Todorov <[EMAIL PROTECTED]> wrote:
On 5/10/06, Adrian Maier <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have noticed that sometimes the code-completion (Ctrl-space) is not
> entirely accurate.   I mean,  sometimes it contains class members that
> in fact don't exist  ( the non-existance is detected at compilation time ).
>
> For instance :  i have an object    connection: TSQLConnection .
> If later in the code I enter :    connection.   ,  the code-completion list
> contains a procedure CheckConnection.   But the compiler says that
> there is no CheckConnection method.
>
> Where could this kind of discrepancies come from?

The code-completion list contains all class members, not only those
who are public or protected.

I see.
Well  -  displaying only the members that are accesible seems tricky
because this depends on the context   ( a protected method should
appear inside a derived clas .... )  .

But maybe the methods could be marked somehow (with a tiny icon)
so that one can easily spot the difference ( red circle = private,
yellow circle =protected, green circle = public )  ?   Just an idea ...


Thank you guys for the answers,
Adrian Maier

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to