Francesco Abbate
4cda8fc122
Show tab close button when hovering inactive tabs
2021-02-27 15:29:18 +01:00
Francesco Abbate
ca6d1843bc
Implement close button for tabs
2021-02-27 13:53:52 +01:00
Francesco Abbate
4d734e933c
Fix resize behavior of treeview and toolbar
...
Now toolbarview always compute up-to-date sizes and spacing to adapt to
changes in icon big font.
For treeview and toolbarview revert the goto_size approach to use the
original approach of rxi/lite. In order to make it work when user resizes
dragging the divider we use the view optional method set_target_size().
This latter changes the view's target size instead of changing its size
right away. The size is only changed by the lite's layout and animation
system.
Remove the config.treeview_size variable that was no longer working because
plugins are loaded before the user's config.
2021-02-27 12:13:11 +01:00
Francesco Abbate
054350263d
Fix treeview missing clamp bug
...
Github issue: https://github.com/franko/lite-xl/issues/44
2021-02-20 20:13:25 +01:00
Francesco Abbate
ebba21310b
Fix treesize toggle command and transition
2021-02-15 12:18:43 +01:00
Francesco Abbate
b836c2e1e6
Implement proper layout of toolbar
2021-02-15 00:36:39 +01:00
Francesco Abbate
9f0abd1a8b
Show resize cursor only when panes are resizable
2021-02-11 17:15:27 +01:00
Francesco Abbate
f482ea318a
Makes resizable attribute explicit in Node:split()
2021-02-11 16:12:21 +01:00
Francesco Abbate
c6a1323214
More accurate implementation for x and y axis
2021-02-11 11:53:53 +01:00
Francesco Abbate
e69d201e1b
First preliminary implementation of treeview resize
...
Works but only cover resize along x.
2021-02-09 18:41:32 +01:00
Francesco Abbate
0ff61a30e1
Lite XL modification to welcome screen
2020-12-30 16:15:57 +01:00
Francesco Abbate
b7168b5ebb
Fix find in project problem with get_active_view
2020-12-28 23:35:52 +01:00
Francesco Abbate
c3dd506bd7
Fix bug with lost primary node in rootview
...
It was possible to lose the primary node thus possibly preventing the
opening of new documents.
2020-12-15 13:30:49 +01:00
Francesco Abbate
499f085045
Use get_primary_node instead of Rootview:get_primary_view
2020-12-15 12:51:36 +01:00
Francesco Abbate
9114148b45
Automatically reload style when saving the project user module
2020-12-10 17:56:53 +01:00
Francesco Abbate
ebcfa63de1
Fix centerings of text in EmptyView
2020-12-08 23:36:50 +01:00
Francesco Abbate
e88adc0567
Move project manager into core init file
2020-12-08 16:57:57 +01:00
Francesco Abbate
c0f0325bbb
Fix behavior of project manager to store directories
2020-12-08 09:42:11 +01:00
Francesco Abbate
ca9bf21819
Reword name for identifying primary view
2020-12-06 13:24:55 +01:00
Francesco Abbate
745dd99e97
Use original document views node to open a new document
...
Used when the active view is a locked node.
2020-12-06 01:03:54 +01:00
Francesco Abbate
926e004c41
Preliminary version of project manager
...
Adapted from contribute rxi/lite-plugins but changed to avoid restarting
the application when switching project.
Current problem:
- the reload of the treeview take some time without any feedback for the
user
2020-12-06 00:57:27 +01:00
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