aboutsummaryrefslogtreecommitdiffstats
path: root/select-comments.lua
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2021-09-30 00:23:28 +0100
committergarret <garret@airmail.cc>2021-09-30 00:37:09 +0100
commit04a61982e82a5df1cb2ec77a5d9752782a7c41e0 (patch)
tree35ec751a28b717a7cc6158f84357408173339bff /select-comments.lua
parent2a9e07ff9a5f7084d3e2e54ff5d065f9b0a93591 (diff)
downloadaegisub-scripts-04a61982e82a5df1cb2ec77a5d9752782a7c41e0.tar.gz
aegisub-scripts-04a61982e82a5df1cb2ec77a5d9752782a7c41e0.tar.bz2
aegisub-scripts-04a61982e82a5df1cb2ec77a5d9752782a7c41e0.zip
macro folder
the beginning of becoming like every other cartel-aproved script repo in existence
Diffstat (limited to 'select-comments.lua')
-rw-r--r--select-comments.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/select-comments.lua b/select-comments.lua
deleted file mode 100644
index c0c281d..0000000
--- a/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)