Bulk Mail

Bulk Mail

191k Downloads

The function simpleFind is broken

B88000005 opened this issue ยท 2 comments

commented

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
commented

Fixed in next release.