aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2021-07-11 10:41:03 +0100
committergarret <garret@airmail.cc>2021-07-11 10:41:03 +0100
commit613849e8aec4a48043fe2a62992eb2ce914b85ed (patch)
tree97a6d1a82fd9876ba84b76b36707ea482c4d541c
parent31746f8e09c4f5e21f4e48e77ee48bfae65325bf (diff)
downloadaegisub-scripts-613849e8aec4a48043fe2a62992eb2ce914b85ed.tar.gz
aegisub-scripts-613849e8aec4a48043fe2a62992eb2ce914b85ed.tar.bz2
aegisub-scripts-613849e8aec4a48043fe2a62992eb2ce914b85ed.zip
remove tagstrip
literally exactly the same as the one that comes with aegi
-rw-r--r--README.md6
-rw-r--r--tagstrip.lua26
2 files changed, 0 insertions, 32 deletions
diff --git a/README.md b/README.md
index 4599c73..2c97aa2 100644
--- a/README.md
+++ b/README.md
@@ -75,9 +75,3 @@ originally created to convert stuff that should've been alpha-timed in the first
### Scenebleed Detector
Finds scenebleeds in the selected lines, and marks them with an effect (`bleed`).
-
-### tagstrip
-
-gets rid of tags (and comments) in the selected lines.
-
-literally exactly the same as the one that comes with aegi, idk why i made this
diff --git a/tagstrip.lua b/tagstrip.lua
deleted file mode 100644
index 1a65a98..0000000
--- a/tagstrip.lua
+++ /dev/null
@@ -1,26 +0,0 @@
-script_name = "tagstrip"
-script_description = "nukes tags\n(and comments)"
-script_author = "garret"
-script_version = "2021-06-13"
-include("cleantags.lua")
-
-function strip(sub, sel)
- for h, i in ipairs(sel) do
- line = sub[i]
- line.text = line.text:gsub("{[^}]-}","")
- sub[i] = line
- end
- aegisub.set_undo_point(script_name)
-end
-
-function clean(sub, sel)
- for h, i in ipairs(sel) do
- line = sub[i]
- line.text = cleantags(line.text)
- sub[i] = line
- end
- aegisub.set_undo_point(script_name)
-end
-
-aegisub.register_macro(script_name, script_description, strip)
---aegisub.register_macro("Clean Tags", script_description, clean) -- dupe of existing aegi one