aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/settings.lua
AgeCommit message (Collapse)Author
2025-06-30highlight_current_line "no_selection" now default (#284)Jefferson González
Changed the default value of config.highlight_current_line to "no_selection" which is a more sensible value for color schemes that may provide the same color for selections and highlighted lines. Change inspired from #273
2025-06-20settings gui: option to select dirmonitor backend (#270)Jefferson González
Adds the ability to select the directory monitoring backend from the settings gui which was introduced on #266
2025-06-09Make DATADIR and USERDIR fonts path portable (#249)Jefferson González
When changing the fonts path from the settings UI the raw DATADIR or USERDIR path is replaced with a placeholder to allow their path to be relocatable on portable installs as in the AppImage which creates a temporary directory.
2025-06-05Allow always hiding tabs, great for zen mode! (#242)Jefferson González
* Introduced config.hide_tabs set to false by default. * Added core:toggle-tabs command. * Added entry to settings UI.
2025-06-04Enabled word wrap on settings ui labels (#241)Jefferson González
This change also updates the widget subproject to include the new word wrap functionality on labels.
2025-06-04Properly saves a cleared binding from settings ui (#240)Jefferson González
When removing all bindings from a command the change wasn't properly save for next editor load because it was set to nil. Issue reported here: lite-xl/lite-xl-plugins#245
2025-06-03Settings: allow filtering colors (#238)Jefferson González
This change adds a filter textbox in the same way as with keybindings.
2025-06-02Include additional glyphs on icons.ttf (#236)Jefferson González
* Updated settings with new icons * Updated emptyview with new icons * Updated fontello config file * Added some extra hand made additional icons for future use on the search UI.
2025-03-09Perform collectgarbage step instead of collect (#226)Jefferson González
This commit overrides the collectgarbage lua function to replace collect calls with a step to reduce system stuttering caused by miss use of this option. A forcecollect option was introduced in case it is explicitly needed to force a full garbage collection. This change also adds a new Advanced pane settings with two new options to allow configuring the garbage collector pause and step multiplier values. Making these values less aggressive should result on better editor responsiveness with the downside of longer higher memory usage time spans.
2024-09-28Make the input latency reduction toggleable (#188)Jefferson González
Since the reduction in input latency is achieved by more rapidly processing background tasks when events are received, it can result on momentary higher cpu usage when moving mouse or typing. This change introduces a toggle to disable this behavior if desired by user to reduce cpu usage.
2024-09-09Reduce the amount of co-routines needed on startup (#176)Jefferson González
The reduction is achieved by using a different strategy of initialization on some of the components shipped by default.
2024-09-09Lower input latency improving co-routine scheduling and tokenizer (#174)Jefferson González
* set the maximum execution time of co-routines - per frame iteration based on current frames per second. * penalizes co-routines that exceed the max_time - by setting their waiting time to the same time it took to execute them. * Check how much co-routines to run per frame - on each run_threads iteration we check how many can be run without exceeding the maximum time allowed. * Use the avg. runtime of co-routines to yield - We now keep track of every 1 second cycle in order to see how much time is left for executing co-routine tasks, by using the average execution time of co-routines to decide if we should execute it or skip it until next 1 second cycle. * introduce `core.fps` - has the maximum frames per second that are actually possible to render, which can be used to accommodate to frame drops when performing some animations, scrolling, etc... * tokenizer: always check time left on long lines - improves scrolling performance and other areas * highlighter: on long lines notify first/last only - Depending on installed plugins the update_notify call can get expensive and slow things down. With this change, it is now perform on first and last tokenization procedures, on first call it allows the visible first characters of the line to be updated for correct positioning calculations as plugins that need it. The major drawback is when employing differently sized fonts for token types. This may cause wrong positioning calculations when scrolling, but it is preferred over a laggy code editor. It is not the norm to use different font sizes for token types on files with long lines. Currently only markdown language plugin makes such an use and users that may have done heavy customization to the styling of the token types. * Expose co-routines max_time as core.co_max_time - Introduces core.co_max_time which is the maximum execution time for co-routines on a per frame iteration basis. Can be used by any task to determine how much time it has before yielding. * Added new config.log_slow_threads option - This new configuration option allows monitoring of co-routines that are taking more time to execute than that allowed on a per frame iteration basis. Should help when troubleshooting performance issues. * Main loop: burst events processing for 3s - When receiving events we reduce the wait time to match the rendering speed for the events that follow in order to process them earlier and reduce the input lag.
2024-06-21Improvements to core.visited_files handling (#96)Jefferson González
* The maximum amount of visited files is configurable with config.max_visited_files to prevent indefinite addition of visited files * Visited files are cleared when opening a different project * We now use the absolute path instead of relative to prevent issues with multiple project directories * config.max_visited_files added to settings ui plugin * save and restore core.visited_files on the workspace plugin for each project
2024-03-11settings ui: added max_visible_commands config (#79)Jefferson González
2024-01-15Respect config.file_size_limit on some components (#60)Jefferson González
* Refresh treeview on file_size_limit change * Respect file_size_limit on findfile plugin * Respect file_size_limit on projectsearch plugin * Respect file_size_limit on core.open_doc
2023-12-01Added config.line_endings support to settings guijgmdev
2023-09-18Highlight default theme on settings ui, fixes #23jgmdev
2023-08-06Recompile ignore patterns when changed from guijgmdev
2023-08-06Added GUI for treeview show hidden/ignoredjgmdev
2023-07-30Merged Project Rework lite-xl/lite-xl#1455Adam Harrison
* Initial commit to clean up projects; spun off find-file to its own plugin, removed project limit, removed the concept of a project maintaining an ordered list of files, and allowed treeview to see things like hidden files and files not actually in the project. * Normalizing things, fixed typo. * Abstracted root project, and made things more in line with current master behaviour. * Removed unused legacy code, as well as ensured that we use absolute paths. * Fixed issue with backslahes on linux, will look at windows at some point. * Removed stray print. * Removed orphaned function. * Removed extraneous command. * Fixed the ability to close project folders. * Adaptations for project rework. * Removed superceded function. * Applied jgm's suggestions.
2023-07-03settings: respect disabled plugins on lua modules as reported on ↵jgmdev
lite-xl/lite-xl#1551 Prevents the automatic loading of plugins disabled on the user or project lua modules by the settings ui.
2023-07-03Changed log view settings from lite-xl/lite-xl-plugins#266Luke aka SwissalpS
2023-05-23settings: added config for tabs top marginjgmdev
2023-05-22Updated editor references on settings pluginjgmdev
2023-05-21Added settings pluginjgmdev