| Age | Commit message (Collapse) | Author |
|
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
|
|
Adds the ability to select the directory monitoring backend from
the settings gui which was introduced on #266
|
|
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.
|
|
* Introduced config.hide_tabs set to false by default.
* Added core:toggle-tabs command.
* Added entry to settings UI.
|
|
This change also updates the widget subproject to include the
new word wrap functionality on labels.
|
|
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
|
|
This change adds a filter textbox in the same way as with keybindings.
|
|
* 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.
|
|
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.
|
|
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.
|
|
The reduction is achieved by using a different strategy of
initialization on some of the components shipped by default.
|
|
* 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.
|
|
* 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
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
lite-xl/lite-xl#1551
Prevents the automatic loading of plugins disabled on the user or
project lua modules by the settings ui.
|
|
|
|
|
|
|
|
|