| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
though apparently it's a bit faster
Co-Authored-By: Akatsumekusa <Akatsumekusa@protonmail.com>
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
selected lines and active line will
now be properly set after do and undo
removed aegisub.util from requiredModules
|
| |
|
| |
|
| |
|
|
no feed yet, will get round to it eventuallyâ„¢
|