minor completion change
This commit is contained in:
@@ -706,6 +706,14 @@ do
|
|||||||
local function complete()
|
local function complete()
|
||||||
SendMailNameEditBox:SetText(matches[index])
|
SendMailNameEditBox:SetText(matches[index])
|
||||||
SendMailNameEditBox:HighlightText(inputLength, -1)
|
SendMailNameEditBox:HighlightText(inputLength, -1)
|
||||||
|
for i = 1, AUTOCOMPLETE_MAX_BUTTONS do
|
||||||
|
local button = getglobal('AutoCompleteButton' .. i)
|
||||||
|
if i == index then
|
||||||
|
button:LockHighlight()
|
||||||
|
else
|
||||||
|
button:UnlockHighlight()
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function self:PreviousMatch()
|
function self:PreviousMatch()
|
||||||
|
|||||||
Reference in New Issue
Block a user