yes you are very right.
but i mean why not use
IContentAssistant newPHPAssistant = phpConfiguration
.getPHPContentAssistant(this);
instead of
IContentAssistant newPHPAssistant = phpConfiguration
.getPHPContentAssistant(this, true);
that is the point,maybe now clear:)
On Mon, Oct 26, 2009 at 2:29 PM, Qiangsheng Wang <[email protected]>wrote:
> I think the fContentAssistant, which is created by super, is not a
> PHPContentAssistant.
> It's a content assitant from WTP editor.
>
>
> ------------------------------
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *???
> *Sent:* Monday, 26 October 2009 5:08 PM
> *To:* PDT Developers
> *Subject:* [pdt-dev] Re: a question about class PHPStructuredTextViewer
>
> Qiangsheng just talked to me about this question.thanks Qiangshen.
>
> and he misunderstood me.
>
> i did not describe the question clearly.
>
> IContentAssistant newPHPAssistant = phpConfiguration
> .getPHPContentAssistant(this, true);
>
>
> will get a instance of class PHPContentAssistant,but before this there
> already a instance of class PHPContentAssistant.so i think there must be
> some reason to renew a one.and i want to know why:)
>
> _______________________________________________
> pdt-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>
>
_______________________________________________
pdt-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/pdt-dev