lite-xl/data/core/doc
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
..
highlighter.lua Merge pull request #681 from Guldoman/prepopulate_highlighter 2021-11-23 15:38:20 -05:00
init.lua Manage return values from "replacer" function in `Doc:replace` 2022-04-27 21:53:35 +02:00
search.lua Use plain search by default in `search.find` 2021-10-25 00:18:20 +02:00
translate.lua Changed behaviour of home. 2021-08-06 18:08:08 -04:00