lite-xl/data/core
Francesco Abbate 70412b520b Fix cursor blinking problem
The problem was that when the editor had no events the cursor was not
blinking because the event loop was blocking on wait_event.

Now we no longer calls wait_event without a timeout if the windows has
the focus. When the window has the focus the timeout is set to 1 / fps
so that the cursor can blinks.

In addition we react to the "focus lost" event to ensure the documents
are redrawn without the cursor.
2020-11-21 16:36:32 +01:00
..
commands Fix behavior when using un-indent command over multiple lines 2020-11-18 15:52:53 +01:00
doc Added file-header pattern support to `syntax` 2020-06-08 16:11:22 +01:00
command.lua Initial commit 2019-12-28 11:17:56 +00:00
commandview.lua Added core.set_active_view(); removed `focusable` boolean from View 2020-05-19 14:55:46 +01:00
common.lua Removed unused variables 2020-05-07 22:40:34 +01:00
config.lua Increase default max limits for symbols 2020-11-17 12:33:57 +01:00
docview.lua Fixed shift+click select behavior 2020-06-26 10:44:56 +01:00
init.lua Fix cursor blinking problem 2020-11-21 16:36:32 +01:00
keymap.lua Fixes keypad enter issue (#131) 2020-06-02 13:26:16 +03:00
logview.lua Added multiline support for LogView's messages 2020-05-06 00:06:27 +01:00
object.lua Initial commit 2019-12-28 11:17:56 +00:00
rootview.lua Fix cursor blinking problem 2020-11-21 16:36:32 +01:00
statusview.lua Added core.set_active_view(); removed `focusable` boolean from View 2020-05-19 14:55:46 +01:00
strict.lua Initial commit 2019-12-28 11:17:56 +00:00
style.lua Default color theme adjustments 2020-05-09 11:10:19 +01:00
syntax.lua Added file-header pattern support to `syntax` 2020-06-08 16:11:22 +01:00
tokenizer.lua Made tokenizer skip parsing process on plain-text files 2020-05-14 10:10:50 +01:00
view.lua Added core.set_active_view(); removed `focusable` boolean from View 2020-05-19 14:55:46 +01:00