[Lazarus] autocomplete broken?

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jul 10 00:40:46 CEST 2011


On Sun, 10 Jul 2011 00:17:42 +0200
Bernd <prof7bit at googlemail.com> wrote:

> 2011/7/10 Bernd <prof7bit at googlemail.com>:
> > 2011/7/9 Bernd <prof7bit at googlemail.com>:
> >> happens with an empty project (type Program):
> >
> > now it also happens with the unsaved empty project.
> 
> It dumps things to the console:
> 
> if i press ctrl_space (after "get") it dumps this:
> 
> TSourceEditCompletion.ccExecute nil
> TFPDocHintProvider.ReadLazDocData Identifier=get_frame

This is unneeded if you don't use the feature. I added a check in
31627.


> TFPDocHintProvider.ReadLazDocData FAILED no node
> TFPDocHintProvider.UpdateHintControl FHTMLControl=:TSimpleHTMLControl
> FHTMLProvider=:TLazIDEHTMLProvider

That's normal.
get_frame is a predefined compiler function.


> and after pressing "m" it dumps this:
> 
> TSynBaseCompletionForm.UTF8KeyPress END UTF8Key=""
> TFPDocHintProvider.ReadLazDocData Identifier=Getmem
> TCodeHelpManager.GetFPDocFilenameForSource Hint: file without owner:
> /home/bernd/lazsvn/fpc/rtl/linux/system.pp

Hmm. That's unusual, but should not matter in this case.


> TFPDocHintProvider.UpdateHintControl FHTMLControl=:TSimpleHTMLControl
> FHTMLProvider=:TLazIDEHTMLProvider
> 
> and when i finally press Down which triggers the errors in the list it
> won't wite anything to the console. (it seems to me it is already
> broken at the very moment after I have pressed "m")


Mattias




More information about the Lazarus mailing list