lite-xl/data/core
Guldoman d8581c9b3f
Add mouse grab (#1501)
* Add mouse grab

We now also send mouse movement events only to the interested view.

* Add deprecation messages handler

* Make various `View`s respect `on_mouse_left`

* `StatusView`
* `TitleView`
* `TreeView`
* `ToolbarView`

* Fix scrollbar in `TreeView` not updating

We were in some cases sending outdated mouse positions to the scrollbar, 
which made it think that the mouse was hovering it.

This also updates the hovered item more responsively during scroll.
2023-05-20 13:54:58 -04:00
..
commands Add mouse grab (#1501) 2023-05-20 13:54:58 -04:00
doc #1393 followup (#1463) 2023-04-10 21:57:11 +02:00
bit.lua Assert for negative `field` in bit32 polyfill 2022-01-12 19:56:09 +01:00
command.lua Disable `trimwhitespace` and `drawwhitespace` via their configs (#1446) 2023-03-29 01:57:24 +02:00
commandview.lua Added in explicit touchscreen keyboard support. (#1389) 2023-04-07 12:42:46 -04:00
common.lua Use `table.move` to implement `common.splice` (#1324) 2023-01-13 19:33:13 +01:00
config.lua Disable `trimwhitespace` and `drawwhitespace` via their configs (#1446) 2023-03-29 01:57:24 +02:00
contextmenu.lua contextmenu: adjust y positioning if less than zero (#1268) 2022-12-28 02:51:24 -04:00
dirwatch.lua Make `dirwatch` sorting compatible with what `file_bisect` expects (#1300) 2023-01-05 15:59:15 -05:00
docview.lua Added in explicit touchscreen keyboard support. (#1389) 2023-04-07 12:42:46 -04:00
emptyview.lua fix: center title and version in emptyview (#1311) 2023-01-06 15:27:05 -04:00
ime.lua Improve IME location updates (#1170) 2022-12-20 20:11:13 -04:00
init.lua Add mouse grab (#1501) 2023-05-20 13:54:58 -04:00
keymap-macos.lua Make tab scrolling more flexible (#1384) 2023-02-09 12:51:41 -04:00
keymap.lua Added in double-clicking on emptyview and tab bar. (#1478) 2023-04-22 13:24:54 -04:00
logview.lua `LogView`: Show scrollbar 2022-07-01 05:29:55 +02:00
modkeys-generic.lua Add macos keybindings 2021-04-21 09:48:30 +02:00
modkeys-macos.lua Add macos keybindings 2021-04-21 09:48:30 +02:00
nagview.lua NagView: properly rescale on scale change (#1379) 2023-02-06 13:38:00 -04:00
node.lua Add mouse grab (#1501) 2023-05-20 13:54:58 -04:00
object.lua Make tab scrolling more flexible (#1384) 2023-02-09 12:51:41 -04:00
regex.lua core: ported regex.gsub to faster native version (#1233) 2022-12-20 17:46:37 -04:00
rootview.lua Add mouse grab (#1501) 2023-05-20 13:54:58 -04:00
scrollbar.lua Make `Scrollbar` follow `force_status` when animations are disabled 2022-11-15 21:08:33 +01:00
start.lua feat(bootstrap): return error string from C searcher 2023-04-26 08:31:45 +08:00
statusview.lua Add mouse grab (#1501) 2023-05-20 13:54:58 -04:00
strict.lua Initial commit 2019-12-28 11:17:56 +00:00
style.lua style: move default colors to its own style file 2022-06-02 19:20:54 -04:00
syntax.lua core syntax: strip the path from filename on syntax.get (#1168) 2022-10-22 20:04:54 -04:00
titleview.lua Add mouse grab (#1501) 2023-05-20 13:54:58 -04:00
tokenizer.lua Allow `tokenizer` to pause and resume in the middle of a line (#1444) 2023-04-01 12:12:39 -04:00
utf8string.lua c core: fix extra utf8 build conflict on windows 2022-05-11 00:22:01 -04:00
view.lua Add View dragging (#1402) 2023-04-07 13:15:50 -04:00