AutoComplete wordlist bug or feature?
Hi.
I'm trying to make an autocomplete for scripting language and seems like I'm facing char count limit or something like that.
My original wordlist file contains around 10k lines with function names, methods, interfaces etc..
After some tests I noticed that AutoComplete doesn't start for some of characters.
So I saved all lines starting with one of these characters and started to debug.
It looks like If total word length exceeds 10300+ characters AutoComplete popup will not show up no matter what.
Unless we delete some lines or words to fit this maximum char length.
Is it some known limitation or a bug?
Thanks for this great tool, Marko!
I'm trying to make an autocomplete for scripting language and seems like I'm facing char count limit or something like that.
My original wordlist file contains around 10k lines with function names, methods, interfaces etc..
After some tests I noticed that AutoComplete doesn't start for some of characters.
So I saved all lines starting with one of these characters and started to debug.
It looks like If total word length exceeds 10300+ characters AutoComplete popup will not show up no matter what.
Unless we delete some lines or words to fit this maximum char length.
Is it some known limitation or a bug?
Thanks for this great tool, Marko!
I tried the file and it works as expected. What exactly is the issue and how can I reproduce it?
Thanks for checking it.
Can't imagine what else may be the cause of such behavior.
I'm on win7 pro sp1 x64 (rus)
Code: Select all
if (StrLen(MatchList)>90000) or (StrLen(Word)>999)
I'm on win7 pro sp1 x64 (rus)
I see, this happens in your extreme case with lots of words beginning with the same characters. We will increase the limitation in the next release.
Thank you. Glad to hear that.
I have yet one question if you don't mind.
If user cancels/accepts AutoComplete suggestion dialog and then start typing again or backspacing or moving caret to the beginning/middle/end of existing word AutoComplete is ignorant about chars entered before (located to the left of the current char) current caret position and so shows wrong suggestion.
Is it possible to add optional user-defined command/script that will handle picking word at caret instead of just entered char?
It could be some user function that returns gathered string and AutoComplete module then use this word to show appropriate suggestions.
I have yet one question if you don't mind.
If user cancels/accepts AutoComplete suggestion dialog and then start typing again or backspacing or moving caret to the beginning/middle/end of existing word AutoComplete is ignorant about chars entered before (located to the left of the current char) current caret position and so shows wrong suggestion.
Is it possible to add optional user-defined command/script that will handle picking word at caret instead of just entered char?
It could be some user function that returns gathered string and AutoComplete module then use this word to show appropriate suggestions.
Cancelling (pressing the majority of non-word keys) or accepting always resets current word. Backspacing does not reset and it updates the typed word. I think this is standard and expected behavior.
In the next version release we will introduce a manual Auto Complete shortcut - user will be able to trigger suggestions popup manually, based on the last typed word. I hope this would be helpful for some users. Stay tuned.
In the next version release we will introduce a manual Auto Complete shortcut - user will be able to trigger suggestions popup manually, based on the last typed word. I hope this would be helpful for some users. Stay tuned.