lite-xl/data/core
Guldoman f92f56d42e
Manage return values from "replacer" function in `Doc:replace`
Before the addition of multi-cursor support, we just returned the second 
return value of the "replacer" function to the caller.

With the introduction of multi-cursors, we naively summed the second 
return values for each cursor.
In some cases the "replacer" function doesn't return any second value, 
so we tried to do math with `nil`, thus throwing errors.

Now the second return value is added to a table which is then returned 
to the caller.
2022-04-27 21:53:35 +02:00
..
commands Move cursor to the beginning or the end of its selection 2022-03-20 04:28:26 +01:00
doc Manage return values from "replacer" function in `Doc:replace` 2022-04-27 21:53:35 +02: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 animation categories to enable finer transitions control (#941) 2022-04-25 20:35:35 -04:00
common.lua Go back to `common.match_pattern` and use `table.unpack` directly on function `core.add_thread` 2022-01-28 18:30:19 -03: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 TreeView Changes (#898) 2022-04-26 18:29:05 -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 Add animation categories to enable finer transitions control (#941) 2022-04-25 20:35:35 -04:00
object.lua Remove unused Object's method "implement" 2021-08-28 00:08:30 +02:00
regex.lua Make `regex.match` return the appropriate `end` index 2021-10-11 22:32:50 +02:00
rootview.lua Add animation categories to enable finer transitions control (#941) 2022-04-25 20:35:35 -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 Add utf8 support to tokenizer (#945) 2022-04-26 09:42:02 -04:00
view.lua Clamp scroll position when dragging the scrollbar without animations 2022-04-26 22:50:44 +02:00