aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* new innovations in an8settinggarret2024-02-211-0/+69
| | | | | actually meant for dialogue positioning lol, i couldnt be bothered to type in an8 every time
* adding an old script so its not just on discordgarret2024-02-171-0/+46
|
* add song timergarret2023-06-222-0/+58
|
* add comment selection macrogarret2023-03-161-0/+21
| | | | made for olivo in gjm #tooling
* dupe and comment: add changelog for depctrl feedgarret2023-02-161-0/+16
| | | | this will get extracted and inserted into the feed by depctrl-feedmaker
* update licence yeargarret2023-02-161-1/+1
|
* dupe and comment: make undo handle comment status the same as dogarret2023-02-161-3/+3
| | | | | | | it no longer cares whether the edit is a comment or not. it now sets the original to whatever the edit was. better for doing stuff with comments etc
* dupe and comment: handle fold boundariesgarret2023-02-161-9/+42
|
* dupe and comment: make variable names more informativegarret2023-02-161-4/+5
|
* dupe and comment: don't do sel/act stuff if only one linegarret2023-01-291-7/+10
|
* em-dash: add insert (at cursor) functiongarret2023-01-261-1/+18
|
* em-dash: minor fixes on replace functiongarret2023-01-211-9/+9
| | | | | fix inconsistent indentation with the rest of the script, and itself made it a local function
* dupe&comment: new way of fixing sel/act that i understand even lessgarret2023-01-171-14/+12
| | | | | | though apparently it's a bit faster Co-Authored-By: Akatsumekusa <Akatsumekusa@protonmail.com>
* Merge sel/act fixes from Akatsumekusagarret2023-01-151-14/+30
|\ | | | | | | Closes #5
| * dupe and comment: chore: bump versiongarret2023-01-151-1/+1
| |
| * dupe and comment: add notes about what's going on in undo functiongarret2023-01-151-3/+11
| | | | | | | | | | | | not as thorough as `do` because most of `undo` is pretty clear on its own, and all of the "magic" bits have been explained in `do`. The only difference is that here it's the other way round.
| * dupe and comment: format and comment new "do" implementationgarret2023-01-151-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i find it easier to read when the different parts are separated, and while i have done one-line `if this then do that end`s before, i've only ever done it for short operations where it's immediately obvious what's going on and you don't need to do any thinking whatsoever. e.g. this function from depctrl config: local function get_log_level(num) if num == 0 then return "0: Fatal" elseif num == 1 then return "1: Error" elseif num == 2 then return "2: Warning" elseif num == 3 then return "3: Hint" elseif num == 4 then return "4: Debug" elseif num == 5 then return "5: Trace" end return nil end I don't think the bits that fix sel and act count, at least not without comments. speaking of comments, i've added some. i hope i've understood what's going on correctly, please feel free to correct me if not.
| * dupe and comment: fix sel and actAkatsumekusa2023-01-151-11/+10
|/ | | | | | | selected lines and active line will now be properly set after do and undo removed aegisub.util from requiredModules
* shenanigan script: dont crash with non-script effectsgarret2023-01-131-2/+4
| | | | oops
* shenanigan scriptgarret2023-01-131-0/+79
|
* dupe and comment: fix out of range error in undogarret2022-12-241-6/+8
|
* update .gitignoregarret2022-12-221-2/+1
| | | | | | i don't have html any more nor do i use that directory i do have ass files at the moment though
* A-B: escape magic characters in the indicatorgarret2022-12-221-1/+7
|
* A-B: add revert functiongarret2022-12-221-2/+25
| | | | to get the script back to how it was, but with any changes you've made
* A-B: clean up codegarret2022-12-221-11/+23
| | | | | | | | | | local functions split a thing off into a function sane function name hmm lot of functions this time also local variables and addressing luacheck warnings
* A-B: make it so inline tags are applied to the indicatorgarret2022-12-221-2/+2
|
* depctrl global config: use OR helper function i forgor 💀 aboutgarret2022-12-211-2/+2
| | | | | | | | >write function specifically to help do a thing >time passes >have to do the thing again >dont use function i wrote genius
* restyler: do not be stupidgarret2022-12-211-3/+4
|
* em-dash: make trailing -s into em-dashesgarret2022-12-211-4/+9
|
* depctrl global config: use depctrl's config handlergarret2022-12-211-32/+18
| | | | | | | | | | | | | | | | | | better than finding a file that's probably the config, parsing the json, and writing it back in, for obvious reasons turns out no i wasnt thinning out the soup too much twas just right Reason for adding values one by one in key-pair loop instead of just config = new_config: > [01:31] arch1t3cht: oh, I think you can't assign entire tables to DependencyControl.config.c > [01:31] arch1t3cht: like, you can't do DependencyControl.config.c = <my new config>, > you should do DependencyControl.config.myfield = <my new value> and whatnot > [01:32] arch1t3cht: because behind the scenes it uses metatable magic to track what field changes > so it can merge its own changes with ones that other scripts made in the meantime Co-Authored-By: arch1t3cht <arch1t3cht@gmail.com>
* dupe and comment: variable names that make sensegarret2022-12-151-4/+4
|
* correct spellinggarret2022-11-291-1/+1
|
* update copyright yeargarret2022-11-291-1/+1
|
* dupe and comment: use local functionsgarret2022-11-241-3/+3
|
* depctrl global config: add extra feeds supportgarret2022-11-241-2/+39
|
* depctrl global config: only pass config to functions instead of whole filegarret2022-11-241-3/+2
|
* depctrl global config: clean up, split into more functionsgarret2022-11-241-17/+31
|
* depctrl global config: don't be stupidgarret2022-11-231-7/+9
| | | | | | no longer rewrites the entire config below the existing one(!) added forgotten local variables, removed unnecessary ones fixed a typo
* depctrl global config: add reset buttongarret2022-11-231-2/+4
|
* sylsplitter: move kana regex to within main functiongarret2022-11-181-3/+2
| | | | hm perhaps i should not have this running on every script load lol
* a-b: add script_namespacegarret2022-11-061-1/+2
|
* consistency assistant: add includesgarret2022-10-301-17/+65
| | | | | holy recursion also, "cleaned" up a bit
* change aegisub version in readmegarret2022-10-281-1/+1
|
* consistency assistant: add named capturesgarret2022-10-281-8/+11
|
* add consistency assistantgarret2022-10-281-0/+39
|
* remove inverse glow examplegarret2022-10-281-34/+0
|
* bring back em-dash.luagarret2022-09-281-0/+27
| | | | | apparently people actually use it This reverts commit 7876e626d73b8010ed63a2423c354f2412f318be.
* rewrite READMEgarret2022-08-051-75/+73
|
* append-comment: use textbox instead of editgarret2022-08-051-9/+7
| | | | | | newlines start new comments "type it yourself" message has been removed local variables have been remembered this time
* remove a few old, bad, and/or useless scriptsgarret2022-08-052-89/+0
| | | | | | | I'm sure there are better layer orderers out there. I'm not a typesetter, so I'll never actually use mine enough that I fix the glaring issues. I don't even remember what inverse glow was for any more