Skip to main content

[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:)

Back to the top