[Gambas-user] Autocomplete

David Villalobos Cambronero david_villalobos_c at ...43...
Thu Oct 9 14:18:26 CEST 2008


Hi, many thanks... It really helps

 Regards


--
David



----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Wednesday, October 8, 2008 12:00:35 PM
Subject: Re: [Gambas-user] Autocomplete

On mercredi 08 octobre 2008, David Villalobos Cambronero wrote:
> Ok, I'll try.
>
> I got an Editor to hinglight MySQL Keywords, but I want that when the user
> types INS shows a box with some words like INSERT, just as Gambas does.
>
> In Gambas if you  write PRI then appears a box with PRIVATE and some other
> Gambas Keywords. That is what I want to do.
>
> Hope I was clear enough.
>
>  Regards
>
>
> --
> David
>

I mainly display a ListView on top of the Editor control. Editor has methods 
to know where the cursor is so that you can move the ListView just under it. 

You can look in the IDE source code to have the details. But it is complex, as 
it supports different auto-completions: class symbols, event handlers, 
keywords, identifiers, special methods.

Regards,

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



      




More information about the User mailing list