cf29a6a45f
When a command is performed with parameters, those are now passed to the predicate. The predicate can then return, after the validity boolean, any other value that will then be passed to the actual command. If the predicate only returns the validity boolean, the original parameters are passed through to the actual command. This allows predicates to manipulate the received parameters, and allows them to pass the result of an expensive computation to the actual command, which won't have to recalculate it. String and table predicates will now also return `core.active_view`. |
||
---|---|---|
.. | ||
command.lua | ||
core.lua | ||
dialog.lua | ||
doc.lua | ||
drawwhitespace.lua | ||
files.lua | ||
findreplace.lua | ||
log.lua | ||
root.lua | ||
statusbar.lua |