[QScintilla] AutoCompletion for object based languages...is it possible?

Phil Thompson phil at riverbankcomputing.com
Mon Oct 27 19:28:01 GMT 2008


On Mon, 27 Oct 2008 14:09:37 -0400, "Eric Fontana"
<eric at carbondesignsystems.com> wrote:
> I noticed updateAutoCompletionList gets called every time
> you type a "dot" i.e. "foo.bar.test" makes one call
> with the list "foo", "bar", "test" as the context.
> 
> I could impose a naming convention for variables;
> 
> var reg = Application.addRegister("x");
> 
> print(reg.name);  // "x"
> 
> I would have to create entries for "reg" (variable)
> by calling add() and then prepare() correct?

Yes.

> Is there any way to make the prepare call synchronous? 

You could block in a local event loop until the prepare finished.

> reg::name Name property  
> 
> Thanks.

Phil


More information about the QScintilla mailing list