[Gambas-user] IDE: signature doubled for Rect._new()

Benoît Minisini gambas at ...1...
Thu Jun 18 13:20:22 CEST 2015


Le 18/06/2015 08:29, Tobias Boege a écrit :
> Hi Benoit,
>
> when I type "New Rect(", the IDE shows the signature of Rect's constructor
> doubled (s. attached screenshot). I have gb.qt4 and gb.clipper enabled which
> both have a Rect class. Does inheritance of the parent's constructor
> arguments cause this? What is the intended outcome if I specify both sets
> of arguments? :-) I guess the child's should override the parent's...
>
> Regards,
> Tobi
>

There is no actual inheritance.

It's just that as *.info files has no inheritance feature, both 
gb.qt4.info and gb.clipper.info (and other components that directly or 
indirectly automatically load the 'gb.geom' component) have the Rect 
class description in it.

The problem is in the *.info file, not at runtime.

The solution would be having an inclusion feature in *.info file, or 
something that tells the IDE that part of the description comes from 
another automatically loaded component.

Regards,

-- 
Benoît Minisini




More information about the User mailing list