Page 1 of 1

Enhanced AutoComplete

Posted: Sun Jun 06, 2010 2:54 pm
by skywalk
Please enhance the Autocomplete feature by limiting the contents or prioritizing them to the enum or gadget type.

For instance: When typing in a gadget command's Flags parameter, force the top of the Autocomplete list to the relevant PureBasic constants.

Some examples:

Code: Select all

\id = ButtonImageGadget(#PB_Any, \X, \Y, \Wd, Ht, ImagesInUse(\imgNr)\hnd, ...User Hits [Ctrl+Space] here...)
;...Autocomplete lists the following...
#PB_Button_Toggle

\id = OpenWindow(wID, \x, \y, \wd, \ht, \Txt, ...User Hits [Ctrl+Space] here...)
;...Autocomplete lists the following...
#PB_Window_BorderLess    
#PB_Window_Invisible     
#PB_Window_Maximize
#PB_Window_MaximizeGadget
#PB_Window_Minimize
#PB_Window_MinimizeGadget
#PB_Window_NoGadgets
#PB_Window_ScreenCentered
#PB_Window_SizeGadget  
#PB_Window_SystemMenu   
#PB_Window_TitleBar      
#PB_Window_Tool          
#PB_Window_WindowCentered