On Sat, 2009-10-17 at 10:52 +0200, Doriano Blengino wrote:
> Kad Mann ha scritto:
> > This looks like a bug to me.
> >
> > If I create a module name modConstants and add these two lines:
> >
> > PUBLIC CONST BTN_CANCEL AS Integer = 0
> > PUBLIC CONST BTN_OK AS Integer = 1
> >
> > If I then edit, say, FMain, I can then refer to those constants by
> > typing the module name and a period. Gambas will then show me BTN_CANCEL
> > and BTN_OK in a popup window.
> >
> > No such thing happens if the module name is from 1 to 3 characters in
> > length. The problem is, I need a module to be called k, nothing else,
> > and I need the constants to be displayed when I type k and a period.
> >
> > I am working on a huge translation project that has 800+ constants and I
> > want to save both thousands of needless key strokes and needless hours
> > copying and pasting a longer module name.
> >
> > I could find no documentation regarding limitations on the name of
> > modules.
> >   
> I think it is not a limitation on the module's name, but a limitation on 
> the auto-completion routine of the IDE. It seems that auto-completion 
> waits for three characters before starting to clobber your editor with 
> popups windows; but it would make sense to enable anyway the 
> autocompletion if you type in a dot.

Yes, that's what I was thinking.

>  This is not an answer to your 
> question, but may help anyway.

No problem. Thanks for replying.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to