Lua code as functions or lambdas support for tempTriggers
Posted: Sat Sep 30, 2017 12:28 pm
I've added support for having a function in all of the temp*Trigger functions (tempTrigger(), tempColorTrigger(), tempLineTrigger(), tempComplexRegexTrigger(), tempRegexTrigger(), tempBeginOfLineTrigger(), and tempExactMatchTrigger()) as well as raised their error messages up to standard.
If you're keen, try out a preview of it to help us test! Download for macOS, Linux, or Windows.
An example of a function you can now do is:
If you're keen, try out a preview of it to help us test! Download for macOS, Linux, or Windows.
An example of a function you can now do is:
The nice thing about this is that you can capture local variables or run private functions without having to expose them globally.