AddOns WoW API Widget API XML UI Event API WoW Lua Macro API CVars
Battle.net
HOWTOs Snippets UI tech
Categories
← 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.