Fixed searching error

This commit is contained in:
Igor Timofeev 2019-06-06 12:23:02 +03:00
parent 4a9c6032e1
commit 198f796b5c

View File

@ -1244,7 +1244,7 @@ local function find()
whereToFind, whatToFind = unicode.lower(whereToFind), unicode.lower(whatToFind)
end
local success, starting, ending = pcall(string.unicodeFind, whereToFind, whatToFind)
local success, starting, ending = pcall(text.unicodeFind, whereToFind, whatToFind)
if success then
if starting then
codeView.selections[1] = {