The function simpleFind is broken
B88000005 opened this issue ยท 2 comments
The API changed. Here's what it should be in 10.1.0
local function simpleFind(tt, exact, text)
if not tt or not tt.lines then
return
end
local searchFunction = exact and findExact or findPattern
for _,data in ipairs(tt.lines) do
if data.leftText then
-- print("Matching ", text, "with tooltip line", data.leftText)
if searchFunction(data.leftText, text) then
return true
end
end
end
end
thx! Now this error fixed!
https://legacy.curseforge.com/wow/addons/bulkmail/issues/45