Autocomplete

Working on new editor enhancements?
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

@AND51
i have also selected 3, could have been that you selected 5 or higher, thats why i said that.

if thats not the case then maybe you have not enabled the winapi listing in auto complete or hell, there could be so many reasons and i really dont want to search for all of them. the fact is PB has that problem, i have that problem and we are not the only ones for sure. if you dont have that problem for some reason, be lucky.

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Personally I'd like Ctrl+Enter as well, but I'd like Ctrl+Enter to act as a normal enter and enter to autocomplete if the list is open.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

I've also ENabled WinApi, so I can see the API-function that was quoted by PB.
So far I can see, I've the same settings like you, but here it works.

OK, then I'm lucky now... :o
PB 4.30

Code: Select all

onErrorGoto(?Fred)
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

> Personally I'd like Ctrl+Enter as well, but I'd like Ctrl+Enter to act as a normal enter and enter to autocomplete if the list is open.

no, I'm against that.

the autocomplete on pressing return is something that breaks my fluent typing,
and I bet I'm not the only one.

for me it also would be ok if autocomplete only worked on TAB,
and RETURN does not autocomplete at all, regardless if with or without CTRL.

but, as a compromise:
what about a FLAG in the Options to determine what RETURN will do?

like in ICQ, you can set a FLAG there whether RETURN inserts a newline or sends the message....
oh... and have a nice day.
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Post by byo »

I loved the RETURN on Autocomplete. :/
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> I loved the RETURN on Autocomplete. :/

So just set it back. It's not gone forever.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Post by byo »

PB wrote:So just set it back. It's not gone forever.
How? :)
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

File -> Preferences -> General -> Shortcuts -> Insert the selected AutoComplete word = Return

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Post by byo »

Thanks, nco2k.
I was looking at the wrong preferences tabs. :lol:
Post Reply