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

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 <qiangsheng.w@xxxxxxxx> wrote:
I think the fContentAssistant, which is created by super, is not a PHPContentAssistant. It's a content assitant from WTP editor.
Â


From: pdt-dev-bounces@xxxxxxxxxxx [mailto:pdt-dev-bounces@xxxxxxxxxxx] 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
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev