lite-xl/data/core
Guldoman cf29a6a45f
Allow command predicates to manage parameters passed to the commands
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`.
2022-08-16 22:13:16 +02:00
..
commands Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
doc Make `Doc:get_selection[s]` return if the selection was actually sorted 2022-07-11 05:39:55 +02:00
bit.lua
command.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
commandview.lua CommandView: do not change caret size with config.line_height 2022-07-15 11:27:27 -04:00
common.lua Merge pull request #1021 from Guldoman/PR_lax_common_merge 2022-06-07 20:05:22 -04:00
config.lua Increase default maximum number of log items 2022-07-01 05:29:54 +02:00
contextmenu.lua initial documentation for better code completion 2022-06-07 22:09:34 -04:00
dirwatch.lua Added in defaults for dirwatch. 2022-06-01 18:36:00 -04:00
docview.lua initial documentation for better code completion 2022-06-07 22:09:34 -04:00
emptyview.lua initial documentation for better code completion 2022-06-07 22:09:34 -04:00
init.lua Add font style options in user module 2022-07-15 12:05:59 +02:00
keymap-macos.lua
keymap.lua
logview.lua `LogView`: Show scrollbar 2022-07-01 05:29:55 +02:00
modkeys-generic.lua
modkeys-macos.lua
nagview.lua initial documentation for better code completion 2022-06-07 22:09:34 -04:00
node.lua initial documentation for better code completion 2022-06-07 22:09:34 -04:00
object.lua initial documentation for better code completion 2022-06-07 22:09:34 -04:00
regex.lua Make `regex.match` return all the results 2022-05-28 01:21:41 +02:00
rootview.lua initial documentation for better code completion 2022-06-07 22:09:34 -04:00
start.lua Clear default Lua require path (#1085) 2022-08-03 11:13:26 -04:00
statusview.lua Steps to generalize toolbar and treeview. (#1088) 2022-08-09 14:53:30 -04:00
strict.lua
style.lua style: move default colors to its own style file 2022-06-02 19:20:54 -04:00
syntax.lua
titleview.lua initial documentation for better code completion 2022-06-07 22:09:34 -04:00
tokenizer.lua Merge pull request #1040 from Guldoman/PR_tokenizer_errors_alert 2022-06-22 19:43:51 -04:00
utf8string.lua
view.lua initial documentation for better code completion 2022-06-07 22:09:34 -04:00