Wikia

WoWWiki

UIHANDLER OnTabPressed

Talk0
102,077pages on
this wiki
WoW API
EditBox:OnTabPressed()
EditBox:SetScript("OnTabPressed", function(self)
    self:Insert("    "); -- (4 spaces)
end;

This will insert 4 spaces at your cursor's position. A tab character or \t will not work, therefore spaces are used.


Around Wikia's network

Random Wiki