Fixed search on MorphOS
This commit is contained in:
parent
5d39b4ae68
commit
b15bcbd397
|
@ -55,7 +55,7 @@ end
|
||||||
local function find(label, search_fn)
|
local function find(label, search_fn)
|
||||||
last_view, last_sel = core.active_view,
|
last_view, last_sel = core.active_view,
|
||||||
{ core.active_view.doc:get_selection() }
|
{ core.active_view.doc:get_selection() }
|
||||||
local text = last_view.doc:get_text(unpack(last_sel))
|
local text = last_view.doc:get_text(table.unpack(last_sel))
|
||||||
found_expression = false
|
found_expression = false
|
||||||
|
|
||||||
core.command_view:set_text(text, true)
|
core.command_view:set_text(text, true)
|
||||||
|
|
Loading…
Reference in New Issue