more progress on the new filter tab
This commit is contained in:
+13
@@ -17,4 +17,17 @@ m.test_group = '13127;9510;4438;16254;12006;13131;13012;4413;1482'
|
||||
function m.test()
|
||||
local array = Aux.persistence.deserialize(';', ';')
|
||||
snipe.log(getn(array))
|
||||
end
|
||||
|
||||
function on_char()
|
||||
for _, data in ipairs(TSM.db.global.savedSearches) do
|
||||
if data.searchMode == "normal" then
|
||||
local prevSearch = strlower(data.filter)
|
||||
if strsub(prevSearch, 1, textLen) == text then
|
||||
self:SetText(prevSearch)
|
||||
self:HighlightText(textLen, -1)
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user