Expose Locations::remove()
to Lua
Clearing location markers is a frequent task and should be automizable. For example it is handy to clear all the markers when restarting the recording from scratch after a failed recording.
This commit is contained in:
parent
98d9887adb
commit
e54ae02170
@ -557,6 +557,7 @@ LuaBindings::common (lua_State* L)
|
||||
.addFunction ("first_mark_after", &Locations::first_mark_after)
|
||||
.addFunction ("first_mark_before", &Locations::first_mark_before)
|
||||
.addFunction ("first_mark_at", &Locations::mark_at)
|
||||
.addFunction ("remove", &Locations::remove)
|
||||
.addRefFunction ("marks_either_side", &Locations::marks_either_side)
|
||||
.addRefFunction ("find_all_between", &Locations::find_all_between)
|
||||
.endClass ()
|
||||
|
Loading…
Reference in New Issue
Block a user