On Wed, 10 May 2006 09:52:56 +0200 (Romance Daylight Time)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:

> 
> 
> On Wed, 10 May 2006, Bogusaw Brandys wrote:
> 
> > Vincent Snijders wrote:
> >> Adrian Maier schreef:
> >>> 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?
> >> 
> >> Older versions also showed protected properties, even if they were not 
> >> accessible. Maybe this is hapenning here too?
> >> 
> >> Vincent.
> >> 
> >
> > Could it be selectable using configuration option (to show only 
> > public/published properties/methods) ?
> 
> It should be clever enough to know which methods to show....

As Vincent said: Hiding protected members has been implemented a few months
ago.
OTOH find declaration will find protected members. 


Mattias

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

Reply via email to