lite-xl/data/core
jgmdev fd0a433f59 object: made is() stricter and added extends()
Currently some plugins had/have issues with predicates that check
if active view is a docview to perform certain operations like draw
in the case of minimap or lineguide. Since is() was checking the
entire inheritance tree it was returning true for views that inherit
from the same parent, which caused CommandView to be matched along
DocView, etc... This change does the following to solve the issue:

* Make Object:is() only match the top level parent of the object which
  is more in line with what one would expect from a method named 'is'.
* Introduces Object:extends() which keeps the same functionality that
  Object:is() offered before.
2022-05-12 20:33:01 -04:00
..
commands Open `LogView` in correct `Node` 2022-05-04 02:58:34 +02:00
doc Reset syntax when a filename is provided 2022-03-18 00:36:25 -04:00
bit.lua Assert for negative `field` in bit32 polyfill 2022-01-12 19:56:09 +01:00
command.lua statusview: added ability to hide and commands 2022-03-11 17:23:16 -04:00
commandview.lua Add typeahead to `CommandView` (#963) 2022-04-30 16:09:40 -04:00
common.lua Add pretty printing to `common.serialize` 2022-05-03 06:28:34 +02:00
config.lua Don't animate scrolling by dragging the scroll bar (#940) 2022-04-26 09:54:11 -04:00
contextmenu.lua Catch mouse clicks if `contextmenu` is open 2022-04-27 17:55:46 +02:00
dirwatch.lua Asynchronous Reads for Dirmonitor (#930) 2022-04-26 12:13:39 -04:00
docview.lua Show `arrow` cursor when hovering `DocView` scrollbar track 2022-04-12 02:56:41 +02:00
emptyview.lua EmptyView: handle lite-xl version strings that overlap. 2022-03-02 03:55:03 -04:00
init.lua core: expose rescan_project_directories and configure_borderless_window 2022-05-02 13:55:25 -04:00
keymap-macos.lua Added in restart keymapping. 2021-12-15 16:50:38 -05:00
keymap.lua Allow functions in `keymap` (#948) 2022-04-26 09:48:59 -04:00
logview.lua Add animation categories to enable finer transitions control (#941) 2022-04-25 20:35:35 -04: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 Add animation categories to enable finer transitions control (#941) 2022-04-25 20:35:35 -04:00
node.lua Send `mouseleft` event when the mouse leaves the window (#928) 2022-04-28 21:50:34 -04:00
object.lua object: made is() stricter and added extends() 2022-05-12 20:33:01 -04:00
regex.lua Make `regex.match` return the appropriate `end` index 2021-10-11 22:32:50 +02:00
rootview.lua Send `mouseleft` event when the mouse leaves the window (#928) 2022-04-28 21:50:34 -04:00
start.lua Add utf8 support to tokenizer (#945) 2022-04-26 09:42:02 -04:00
statusview.lua Add animation categories to enable finer transitions control (#941) 2022-04-25 20:35:35 -04:00
strict.lua Initial commit 2019-12-28 11:17:56 +00:00
style.lua Add scrollbar "track" and resize on hover 2022-04-12 02:56:30 +02:00
syntax.lua syntax: remove pattern re-ordering on optimization 2022-03-29 22:11:14 -04:00
titleview.lua Make non-borderless mode work 2021-04-12 19:05:30 +02:00
tokenizer.lua Add utf8 support to tokenizer (#945) 2022-04-26 09:42:02 -04:00
utf8string.lua c core: fix extra utf8 build conflict on windows 2022-05-11 00:22:01 -04:00
view.lua Send `mouseleft` event when the mouse leaves the window (#928) 2022-04-28 21:50:34 -04:00