[Gambas-user] Code Editor Problem

Benoît Minisini gambas at ...1...
Sat Oct 17 16:21:16 CEST 2009


> 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.
> 
> Comments anyone?
> 

Do you mean that if you type "k" then a period, you won't see the completion 
popup of the module "k" ?

-- 
Benoît Minisini




More information about the User mailing list