Autocomplete
@ freak:
I thought, autocomplete waits with the capitalization until word has been finished?
Try to create a constant #sonstiges... #SO seems to be a pre-declared variable that turns
#sonstiges
into
#SOnstiges
grrrrr! annoying! :roll:
I thought, autocomplete waits with the capitalization until word has been finished?
Try to create a constant #sonstiges... #SO seems to be a pre-declared variable that turns
#sonstiges
into
#SOnstiges
grrrrr! annoying! :roll:
PB 4.30
Code: Select all
onErrorGoto(?Fred)
I hate how if you press Enter, the highlighted word in AutoComplete gets used.
It would probably be better just to use TAB to complete the selected word.
Why? I was coding a little game and had 2 x variables: "wins" and "losses".
At one point I typed "Debug wins" and pressed Enter, and what happened?
The line was written as: "Debug WinSubmitCertificate_(".
It would probably be better just to use TAB to complete the selected word.
Why? I was coding a little game and had 2 x variables: "wins" and "losses".
At one point I typed "Debug wins" and pressed Enter, and what happened?
The line was written as: "Debug WinSubmitCertificate_(".

I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
PB, your problem can be solved easyly:
Go to preferneces, autocomplete and select the optiongadget "Only words, beginning with the typed word".
Your problem works here fine, I can press enter and "wins" will be typed.
Go to preferneces, autocomplete and select the optiongadget "Only words, beginning with the typed word".
Your problem works here fine, I can press enter and "wins" will be typed.
PB 4.30
Code: Select all
onErrorGoto(?Fred)
This is what this thread was about, and i said its fixed for 4.10AND51 wrote:@ freak:
I thought, autocomplete waits with the capitalization until word has been finished?
Try to create a constant #sonstiges... #SO seems to be a pre-declared variable that turns
#sonstiges
into
#SOnstiges
grrrrr! annoying! :roll:
quidquid Latine dictum sit altum videtur
thats exactly the reason why imo CTRL+RETURN would be better instead of just RETURN.PB wrote:I hate how if you press Enter, the highlighted word in AutoComplete gets used.
It would probably be better just to use TAB to complete the selected word.
Why? I was coding a little game and had 2 x variables: "wins" and "losses".
At one point I typed "Debug wins" and pressed Enter, and what happened?
The line was written as: "Debug WinSubmitCertificate_(".
c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
i am using "Display only words..." since day 1 and it doesnt solve the problem, the reason why you dont have that problem is probably because you have selected a higher value in "Characters needed before opening the list" or you moved the cursor before you pressed return or done something else that caused the autocomplete window to close. :roll:
> thats exactly the reason to ignore my post?
there are many other reasons to ignore your posts.
c ya,
nco2k
> thats exactly the reason to ignore my post?
there are many other reasons to ignore your posts.

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
I have set the value to 3.
You may tell me your value, but I don't believe that this has anything to do with PB's problem (except for the value 4, because "wins" has 4 letters).
> there are many other reasons to ignore your posts
for example?
You may tell me your value, but I don't believe that this has anything to do with PB's problem (except for the value 4, because "wins" has 4 letters).
> there are many other reasons to ignore your posts
for example?

PB 4.30
Code: Select all
onErrorGoto(?Fred)
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
hey, AND, cut this.
>> I hate how if you press Enter, the highlighted word in AutoComplete gets used.
> thats exactly the reason why imo CTRL+RETURN would be better instead of just RETURN.
I agree, good idea. TAB and CTRL-RETURN would be nice.
I use Tab when I want to write further after the completed command.
the completion on RETURN annoyed me more than once, too.
>> I hate how if you press Enter, the highlighted word in AutoComplete gets used.
> thats exactly the reason why imo CTRL+RETURN would be better instead of just RETURN.
I agree, good idea. TAB and CTRL-RETURN would be nice.
I use Tab when I want to write further after the completed command.
the completion on RETURN annoyed me more than once, too.
oh... and have a nice day.