Commit Graph

114 Commits

Author SHA1 Message Date
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
Francesco Abbate 7a856be6e4 Fix error when opening the first document if project view was active 2020-11-16 18:12:31 +01:00
rxi 18de4552e2 Made tab's text left-aligned if wider than the tab 2020-06-03 13:34:10 +01:00
rxi 508b6fb73a Improved RootView's EmptyView 2020-05-30 14:58:31 +01:00
rxi db8c5ea2aa Renamed core:command/file-finder => core:find-command/file 2020-05-30 09:11:42 +01:00
rxi e7cf551e22 Changed EmptyView text from `empty` to `lite` 2020-05-26 10:33:07 +01:00
rxi e45b3e2bc0 Minor renaming in rootview 2020-05-23 09:40:42 +01:00
rxi e7320c2291 Made RootView:open_doc() try to use previous node if current node is locked 2020-05-22 15:50:27 +01:00
rxi bc4bf3d384 Added core.set_active_view(); removed `focusable` boolean from View 2020-05-19 14:55:46 +01:00
rxi 762c1e2b69 Fixed RootView's EmptyView keymap text
Broke due to command renaming
2020-05-07 21:46:21 +01:00
rxi 885ed5f860 Improved handling of zero-sized locked nodes on RootView 2020-05-01 16:17:07 +01:00
rxi 55d7fa58d0 Removed fake mouse-moved event on scroll change
This ends up causing more problems than it solves; Fixes #29
2020-04-19 17:21:27 +01:00
rxi 1be7a32c6b Fixed error on setting active view when closing certain splits in RootView 2020-04-12 11:14:49 +01:00
rxi d8c4bfa6ba Initial commit 2019-12-28 11:17:56 +00:00