lite-xl/data/core/commands
Guldoman 195520ea12
Make tab scrolling more flexible (#1384)
* Add `Object:{is_class_of,is_extended_by}` to check inverse relationships

* Make tab scrolling more flexible

This adds tab scrolling commands and connects them to mouse scroll
events.
This way scrolling behavior can be customized more easily.

For example an alternative behavior could be:
```lua
keymap.add({
  ["wheelup"] = "root:switch-to-hovered-previous-tab",
  ["wheeldown"] = "root:switch-to-hovered-next-tab"
})
```
2023-02-09 12:51:41 -04:00
..
command.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
core.lua Add `text` and `select_text` to `CommandView` options 2022-06-02 19:30:51 +02:00
dialog.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
doc.lua NagView: properly rescale on scale change (#1379) 2023-02-06 13:38:00 -04:00
drawwhitespace.lua Implement unicode character replacements 2021-04-01 18:05:59 +02:00
files.lua Use new `CommandView:enter` options table 2022-05-30 22:08:13 +02:00
findreplace.lua Restore in-selection replace as discussed in #1331 (#1368) 2023-02-06 13:34:59 -04:00
log.lua remove unsaved flag from log.txt 2021-12-22 10:54:25 +08:00
root.lua Make tab scrolling more flexible (#1384) 2023-02-09 12:51:41 -04:00
statusbar.lua Use new `CommandView:enter` options table 2022-05-30 22:08:13 +02:00