Typing a gesture trigger in the chat bar adds all the auto-completion suggestions to the line editor history whether they are selected or not.
Repo:
- Check that the standard "/excuseme" and "/embarrassed" gestures are active.
- Type "/emo" (or anything starting with "/em") into the chat bar and hit enter.
- Press Ctrl-Up Arrow several times to examine the line history.
The line history should only contain "/emo" as that was what was sent, it actually now contains:
- /emo
- /embarrassed
- /excuseme
- (A blank line)
At present the setText method of the line editor adds entries to the line history, when only committed lines should be being added. The attached patch consolidates the line history code so that the history is only altered by the updateHistory method alone.