Add some convenient public editor methods (for lua-bindings)

and s/get// in the old API for consistency.
This commit is contained in:
Robin Gareus 2017-02-24 13:03:24 +01:00
parent 89c02f4fd7
commit 9e543beb56
5 changed files with 57 additions and 18 deletions

View file

@ -29,7 +29,7 @@ function factory () return function ()
else
skip = true;
-- get RegionView (GUI object to be selected)
local rv = Editor:get_regionview_from_region (region)
local rv = Editor:regionview_from_region (region)
-- add it to the list of Objects to be selected
sl:push_back (rv);
end