Adds a line of text to the edit box's stored history. Once added, the user can quickly set the edit box's contents to one of these lines by pressing the up or down arrow keys. (History lines are only accessible via the arrow keys if the edit box is not in multi-line mode.)

Signature:

EditBox:AddHistoryLine("text")

Arguments:

  • text - Text to be added to the edit box's list of history lines (string)