[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pdt-dev] a question about class PHPStructuredTextViewer

i am trying to fix Bug 197419,but i find it is hard to do that for the following reason.

in the class PHPStructuredTextViewer(line 458)

ÂÂÂ ÂÂÂ IContentAssistant newPHPAssistant = phpConfiguration
ÂÂÂ ÂÂÂ ÂÂÂ ÂÂÂ .getPHPContentAssistant(this, true);

what is the purpose to renew a IContentAssistant instance?

in class ContentAssistProcessor's construtor
ÂÂÂ ÂÂÂ fAssistant.addCompletionListener(new ICompletionListener() {

ÂÂÂ ÂÂÂ ÂÂÂ public void assistSessionStarted(ContentAssistEvent event)

but this fAssistant with ICompletionListener is not the renewed one,and the method assistSessionStarted will never be called.

thanks very much if anyone could answer me:)