Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Getting type information?

Hi Clemens,

I would recommend you to use sources from CVS - it would be much easier for you.

ScriptContentAssistInvocationContext scriptContext = (ScriptContentAssistInvocationContext) context;
scriptContext.getSourceModule();

Regards,
Alex

----- Original Message -----
From: "Clemens Anhuth" <clemens@xxxxxxxxxxxxx>
To: "DLTK Developer Discussions" <dltk-dev@xxxxxxxxxxx>
Sent: Monday, May 4, 2009 10:25:25 PM GMT +06:00 Almaty, Novosibirsk
Subject: Re: [Dltk-dev] Getting type information?

Alex Panchenko wrote:
> Hi Clemens,
>
> This task is performed by SelectionEngines, and they are called via
> codeSelect(int offset, int length) method in ISourceModule.
>   

Hi Alex,

thanks for the tip, I will look into this (I don't know how to get an 
ISourceModule reference while in computeCompletionProposals(), but will 
do some API docs digging).



With best regards

Clemens Anhuth

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top