diff options
Diffstat (limited to 'macros/select-comments.lua')
-rw-r--r-- | macros/select-comments.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/macros/select-comments.lua b/macros/select-comments.lua deleted file mode 100644 index c0c281d..0000000 --- a/macros/select-comments.lua +++ /dev/null @@ -1,18 +0,0 @@ -script_name = "Select Comments" -script_description = "Selects all commented lines" -script_author = "garret" -script_version = "1.0.1" - -function main(sub, sel) - sel = {} - for i=1,#sub do - line=sub[i] - if line.comment == true then - table.insert(sel, i) - end - end - aegisub.set_undo_point(script_name) - return sel -end - -aegisub.register_macro(script_name, script_description, main) |