Expose Controlpoint, and automation line selection as Lua bindings

This commit is contained in:
Robin Gareus 2025-09-28 01:51:41 +02:00
parent 625ad2af77
commit 73b903fd03
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 20 additions and 2 deletions

View file

@ -53,6 +53,8 @@ function factory () return function ()
print ("Marker:", m:name (), m:position(), m:_type())
end
print ("AutomationList/Lines:", sel.lines:size(), "Control Points:", sel.points:size())
----------------------------------------------------------
-- The total time extents of all selected regions and ranges
local ok, ext = Editor:get_selection_extents (Temporal.timepos_t(0), Temporal.timepos_t(0))