Posted 17 years ago
by shark92651
Lets say I have a list of values in my memberlist such as:
AAA
BAA
BBB
CCC
If I type "B" into the editor and then invoke the list using CompleteWord it is smart enough to position the selection on item BAA as it matches the partial word - this is good.
However, when inserted lets say I want the values to have quotes around them. If I add AutoCompletePreText and PostText to be '"' then it no longer positions the selection on item BAA when I call CompleteWord using the same steps listed above. It seems that for some reason the pre and post text is interferring with the search. Is this because you assume the pre and post text are part of the text? I would not make this assumption if this is the case. Can you reproduce this behavior and offer a workaround or fix?
Thanks
AAA
BAA
BBB
CCC
If I type "B" into the editor and then invoke the list using CompleteWord it is smart enough to position the selection on item BAA as it matches the partial word - this is good.
However, when inserted lets say I want the values to have quotes around them. If I add AutoCompletePreText and PostText to be '"' then it no longer positions the selection on item BAA when I call CompleteWord using the same steps listed above. It seems that for some reason the pre and post text is interferring with the search. Is this because you assume the pre and post text are part of the text? I would not make this assumption if this is the case. Can you reproduce this behavior and offer a workaround or fix?
Thanks