aboutsummaryrefslogtreecommitdiff
path: root/data/core/statusview.lua
AgeCommit message (Collapse)Author
2022-08-09Steps to generalize toolbar and treeview. (#1088)Adam
2022-07-22Fix "hard" indent column info on status view. (#1078)ian`
* Fix "hard" indent column info on status view. * Update tabs calculation and add "byte" number info * Add config.show_char_byte_info * Add show char byte toggle command. it should be added on the commands/statusbar.lua, but there is no config module loaded before and i won't to add it. * Update config.lua * Update statusview.lua
2022-07-13Make `StatusView:add_item` accept a tableGuldoman
2022-06-11Downgrade `StatusView:get_items` deprecation message to warningGuldoman
2022-06-07initial documentation for better code completionjgmdev
2022-05-12adjust and consolidate duplicated predicate codejgmdev
2022-04-25Add animation categories to enable finer transitions control (#941)Guldoman
* Allow finer control over transitions * Add categories to transitions
2022-03-21statusview: added functions for easy custom item orderingjgmdev
2022-03-11statusview: added ability to hide and commandsjgmdev
Also fixed the right panel not been draggable.
2022-02-28StatusView: added items hovered option for bg color and param to on_draw as ↵jgmdev
suggested by @Guldoman
2022-02-28StatusView: reposition left and right panel offsets on window resize.jgmdev
2022-02-24StatusView: restored indent confirmedjgmdev
2022-02-24StatusView: add spaces as separate items instead of pre-pending them to items.jgmdev
2022-02-24StatusView: implemented and applied get_item_visible_area.jgmdev
2022-02-24StatusView: better calculate panel sizes and handle out of bounds drags.jgmdev
2022-02-23StatusView: implemented dragging and scrolling.jgmdev
2022-02-23Show hand cursor on clickable elements as suggested by @Guldomanjgmdev
2022-02-23StatusView v2.0, some changes include:jgmdev
* Items are now objects that can be retrieved and manipulated. * clip rect is used for left and right panes * initial support for items to do their own custom drawing by also doing a clip rect for them * a custom background color can be specified for the item. * a command or function can be executed on item click. * Introduced functionality to easily hide or show all or specific items. * Better handling of deprecated get_items() * Spacing is automatically added to items and cleaned on deprecated items. * Default items where separated and given the names: doc:file, doc:position, doc:indentation, doc:lines, doc:line-ending, core.commandview. * Some default right or left click actions where given to the default items. * Started adding required bits to support dragging to left and right panes when some items aren't visible. Note: should work well enough already but maybe some repetitive stuff can be cleaned out.
2022-02-21Improvements to the StatusViewjgmdev
* Support for predicates by introducing add_item(). * Support for performing click actions on items. * Support for optional tooltips on item hover. * Deprecate the usage of get_item().
2021-12-31Migrate to Lua 5.4Jan200101
2021-12-11Also fixed statusview.Adam Harrison
2021-11-20Use the new `Doc:get_indent_info` throughout `core`Guldoman
2021-10-12Added in support for font groupings.Adam Harrison
2021-03-05Do not assume doc.indent_info is presentFrancesco Abbate
2021-02-21Fix the flashing tooltip issueFrancesco Abbate
2021-02-20Fix indent spaces/tabs labelingFrancesco Abbate
2021-02-19Automatic keep adjusting indent sizeFrancesco Abbate
When too few lines keep adjusting indent size
2021-02-19Add toolbar tooltipsFrancesco Abbate
2020-12-28Change project files output to not include a prefix '/' in filenameFrancesco Abbate
It make sense to not put the initial '/' in the filename as the name is relative to the top directory it belongs to. By removing the the initial '/' in the filename we can re-introduce the variable core.project_files to stay compatible with standard Lite. The project_files variable will always point to the files table of the first entry of core.project_directories.
2020-12-27Fix project search and status view for new add directory featureFrancesco Abbate
2020-12-26Test configuration with project_files stored separately for each directoryFrancesco Abbate
2020-05-19Added core.set_active_view(); removed `focusable` boolean from Viewrxi
2020-05-12Made clicking the message on the StatusView open a LogViewrxi
2020-05-03Made separator and separator2 fields of StatusViewrxi
2020-05-03Added StatusView:get_items()rxi
2020-05-03Simplified StatusView item drawingrxi
2020-05-01Minor cleanup in core.statusview and core.commands.corerxi
2019-12-28Initial commitrxi