aboutsummaryrefslogtreecommitdiff
path: root/data/core/rootview.lua
AgeCommit message (Collapse)Author
2021-03-13integrate NagViewTakase
2021-03-09more stylish tabs (#95)liquidev
2021-03-06Fix error related to panes resize along yFrancesco Abbate
2021-03-03Show complete tab name when close butto is not thereFrancesco Abbate
2021-02-27Draw divider for inactive tabsFrancesco Abbate
2021-02-27Keep active view when closing inactive tabsFrancesco Abbate
2021-02-27Ensure tab's text and close button don't overlapsFrancesco Abbate
2021-02-27Show tab close button when hovering inactive tabsFrancesco Abbate
2021-02-27Implement close button for tabsFrancesco Abbate
2021-02-27Fix resize behavior of treeview and toolbarFrancesco Abbate
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-20Fix treeview missing clamp bugFrancesco Abbate
Github issue: https://github.com/franko/lite-xl/issues/44
2021-02-15Fix treesize toggle command and transitionFrancesco Abbate
2021-02-15Implement proper layout of toolbarFrancesco Abbate
2021-02-11Show resize cursor only when panes are resizableFrancesco Abbate
2021-02-11Makes resizable attribute explicit in Node:split()Francesco Abbate
2021-02-11More accurate implementation for x and y axisFrancesco Abbate
2021-02-09First preliminary implementation of treeview resizeFrancesco Abbate
Works but only cover resize along x.
2020-12-30Lite XL modification to welcome screenFrancesco Abbate
2020-12-28Fix find in project problem with get_active_viewFrancesco Abbate
2020-12-15Fix bug with lost primary node in rootviewFrancesco Abbate
It was possible to lose the primary node thus possibly preventing the opening of new documents.
2020-12-15Use get_primary_node instead of Rootview:get_primary_viewFrancesco Abbate
2020-12-10Automatically reload style when saving the project user moduleFrancesco Abbate
2020-12-08Fix centerings of text in EmptyViewFrancesco Abbate
2020-12-08Move project manager into core init fileFrancesco Abbate
2020-12-08Fix behavior of project manager to store directoriesFrancesco Abbate
2020-12-06Reword name for identifying primary viewFrancesco Abbate
2020-12-06Use original document views node to open a new documentFrancesco Abbate
Used when the active view is a locked node.
2020-12-06Preliminary version of project managerFrancesco Abbate
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-11-21Fix cursor blinking problemFrancesco Abbate
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-16Fix error when opening the first document if project view was activeFrancesco Abbate
2020-06-03Made tab's text left-aligned if wider than the tabrxi
2020-05-30Improved RootView's EmptyViewrxi
2020-05-30Renamed core:command/file-finder => core:find-command/filerxi
2020-05-26Changed EmptyView text from `empty` to `lite`rxi
2020-05-23Minor renaming in rootviewrxi
2020-05-22Made RootView:open_doc() try to use previous node if current node is lockedrxi
2020-05-19Added core.set_active_view(); removed `focusable` boolean from Viewrxi
2020-05-07Fixed RootView's EmptyView keymap textrxi
Broke due to command renaming
2020-05-01Improved handling of zero-sized locked nodes on RootViewrxi
2020-04-19Removed fake mouse-moved event on scroll changerxi
This ends up causing more problems than it solves; Fixes #29
2020-04-12Fixed error on setting active view when closing certain splits in RootViewrxi
2019-12-28Initial commitrxi