[Gambas-user] Editor with tooltips (Gambas 2)

Rolf-Werner Eilert eilert-sprachen at ...221...
Tue Nov 29 13:16:36 CET 2011


Am 28.11.2011 18:51, schrieb Charlie Reinl:
> Am Montag, den 28.11.2011, 16:34 +0100 schrieb Rolf-Werner Eilert:
>> Am 28.11.2011 14:27, schrieb Charlie Reinl:
>>> Am Montag, den 28.11.2011, 12:24 +0100 schrieb Rolf-Werner Eilert:
>>>> As I am using the editor at several places in my projects now, I would
>>>> be happy if it was possible to give tooltips to the user.
>>>>
>>>> Don't know if you call them different, I mean the yellow helpline which
>>>> gives an idea of the parameters you can state, e. g.
>>>>
>>>> Add(Value AS String [,Index AS Integer])
>>>>
>>>> as soon as you type the ( after .Add
>>>>
>>>> Is that functionality already there? Or does someone have an idea how to
>>>> implement it?
>>>>
>>>> Thanks for your hints!
>>>>
>>>> Rolf
>>>>
>>> Salut Rolf,
>>>
>>> you should look at CheckCompletion in FEditor, in the gambas2 project
>>> (the gambas2 IDE) .
>>>
>>>    Think that's what you'r looking for
>>
>> Thank you very much, but I think this is the drop-down list of
>> suggestions that appears when you type "." for instance.
>>
>> What I was looking for is the small yellow "window" under my current
>> code line that has what can be typed into a () for some function (system
>> or own ones). It appears when you type "(" and looks like a tooltip of
>> some kind. Or is it in there? Then I didn't find it.
>
> Salut Rolf,
>
> ok, if it is not this one, it has to be in FEditor it starts in
> GetExpressionSignature and find you yellow Window in FSignature (between
> is a long (debug) way)
>

Have been trying around for a while... Do you know how to get the 
current cursor position, maybe within the current line? As soon as the 
user types "(", I have to give the beginning of the line to find the 
command standing left of the "(". And I'm not sure if I find it within 
FEditor.

Rolf





More information about the User mailing list