Sets the maximum number of history lines stored by the edit box. Lines of text can be added to the edit box's history by calling :AddHistoryLine()
; 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:SetHistoryLines(count)
Arguments:
count
- Maximum number of history lines to be stored by the edit box (number
)