A lightweight text editor written in Lua
MIT License
Bot releases are visible (Hide)
Published by franko over 3 years ago
Hotfix for a bug that prevented the creation of a new file.
Fix a bug related to the resizing of nested panes.
Published by franko over 3 years ago
Fix application crash when using the command core:restart
.
Improve application startup to avoid flashing window's problem.
Fix a few problems with documents' filenames.
Move to new plugins versioning scheme using tag mod-version:1
.
The mod-version is a single digit version that tracks the plugins compatibility version independently from the lite-xl version.
For backward compatibility the tag -- lite-xl 1.16
is considered equivalent to mod-version:1
so users don't need to update their plugins.
Both kind of tags can appear in new plugins in the form:
-- mod-version:1 -- lite-xl 1.16
where the old tag needs to appear at the end for compatibility.
This release includes some improvements from a new contributors @adamharrison, welcome onboard!
Published by franko over 3 years ago
Add support for retina displays on Mac OS.
Fix a few problems related to file paths.
Published by franko over 3 years ago
This testing release is the second iterations use a new rendering approach based on SDL's Renderer.
The new architecture should allow to use the full resolution of Retina displays on macos.
Published by franko over 3 years ago
This testing release use a new rendering approach based on SDL's Renderer.
The new architecture should allow to use the full resolution of Retina displays on macos.
Published by franko over 3 years ago
Implement a new system to check the compatibility of plugins by checking a release tag.
Plugins that don't have the release tag will not be loaded.
Users are invited to update the plugins from the official repository https://github.com/franko/lite-plugins .
Improve and extend the NagView with keyboard commands and introduce dialog commands.
Special thanks to @takase1121 for the implementation and @liquidev for proposing and
discussing the enhancements.
Add support to build on Mac OS X with specific keyboard bindings.
We provide in addition a notarize application bundle.
Special thanks to @mathewmariani for his lite-macos fork, the Mac OS specific
resources and his support.
Add hook function DocView.on_text_change
so that plugin can accurately react on document changes.
Thanks to @vincens2005 for the suggestion and testing the implementation.
Enable borderless window mode using the config.borderless
variable.
If enable the system window's bar will be replaced by a title bar provided
by lite-xl itself.
Fix a drawing engine bug that caused increased CPU usage for drawing operations.
Add system.set_window_opacity
function. Many thanks to @AqilCont for his suggestion.
Add codepoint replacement API to support natively the "draw whitespaces" option.
It supersedes the drawwhitespace
plugin. If can be configured using the
config.draw_whitespace
boolean variable and enabled and disables using the
commands draw-whitespace:toggle
, draw-whitespace:enable
,
draw-whitespace:disable
.
Published by franko over 3 years ago
Hotfix for Github's issue https://github.com/franko/lite-xl/issues/122
Added notarized Mac OS app.
Published by franko over 3 years ago
Add tooltips to show full file names from the tree-view. Contributed by @takase1121.
Introduce NagView to show warning dialog about unsaved files. Contributed by @takase1121.
Detect High-DPI displays on Linux using Xft.dpi entry from xrdb's output. Contributed by @daubaris with modifications by @franko.
Made animations independent of framerate, and added a config setting config.animation_rate
for customizing the speed of animations. Contributed by @liquidev.
Made borders between tabs look cleaner. Contributed by @liquidev.
Fix problem with files using hard tabs.
Published by franko over 3 years ago
This release correct some serious problems related to font rendering, most notably the bug about the cursor positioning when using mouse. Upgrade is recommended.
It took time but with this release the subpixel text positioning now works well and accurately. Text using proportional should appear now more evenly spaced and pleasant because some font's spacing errors have been fixed.
Fix also dysfunctional error message window. The writing of the error message in the standard output and in an error file is now correctly done.
Fixed also a problem revealed by the usage of an old version of the detectindent plugin.
Published by franko over 3 years ago
Fix a couple of critical bugs related to lite-xl startup and to binary file opening.
Implement subpixel text positioning to improve text layout at small size. Please not that some spacing inaccuracies still remains when using FiraSans.
Implement close button for tabs. An option to disable the tabs button will be implemented in the next release.
Make the command view list of suggestion scrollable to see all the items.
Improve update/resize behavior of treeview and toolbar.
Published by franko over 3 years ago
Fix graphical artifacts when rendering some fonts like FiraSans.
Introduce the config.transitions
boolean variable.
When false the transitions will be disabled and changes will be done immediately.
Very useful for remote sessions where visual transitions doesn't work well.
Improve behavior of commands to move, delete and duplicate multiple lines:
no longer includes the last line if it does not contain any selection.
Fix many small problems related to the new toolbar and the tooptips.
Fix problem with spacing in treeview when using monospace fonts.
Published by franko over 3 years ago
Implement a toolbar shown in the bottom part of the tree-view. The toolbar is especially meant for new users to give an easy, visual, access
to the more important commands.
Make the treeview resizable and shows the resize cursor only when panes are actually resizable.
Add config mechanism to disable a plugin by setting config.<plugin-name> = false
.
Improve the "detect indent" plugin to take into account the syntax and exclude comments for much accurate results.
Add command root:close-all
to close all the documents currently opened.
Show the full path filename of the active document in the window's title.
Fix problem with user's module reload not always enabled plus other minor fixes.
Published by franko over 3 years ago
Fix a problem when launching lite-xl with a relative directory as argument.
Published by franko over 3 years ago
Do not use any CPU when window is unfocused or minimized. Nice to improve battery autonomy on laptop.
Require a special patch to the SDL2 library. The patch is available from:
https://github.com/franko/SDL/tree/blocking-wait-event-submit-4
The patch was submitted upstream to the SDL2 development group and is waiting for review:
https://bugzilla.libsdl.org/show_bug.cgi?id=5455
Published by franko almost 4 years ago
Fix a few problems related to directory and filename paths.
Add ctrl+insert
and shift+insert
key bindings for copy & paste operations.
Published by franko almost 4 years ago
This new release introduce some new features like project directories and integrate the workspace plugin while polishing a little bit some rough corners.
Project directories
Extend your project by adding more directories using the command core:add-directory
.
To remove them use the corresponding command core:remove-directory
.
Workspaces
The workspace plugin from rxi/lite-plugins is now part of Lite XL.
In addition to the functionalities of the original plugin the extended version will
also remember the window size and position and the additonal project directories.
To not interfere with the project's files the workspace file is saved in the personal
Lite's configuration folder.
On unix-like systems it will be in: $HOME/.config/lite-xl/ws
.
Scrolling the Tree View
It is now possible to scroll the tree view when there are too many visible items.
Recognize ~
for the home directory
As in the unix shell ~
is now used to identify the home directory.
Files and Directories
Add command to create a new empty directory within the project using the command
files:create-directory
.
In addition a control-click on a project directory will prompt the user to create
a new directory inside the directory pointed.
New welcome screen
Show 'Lite XL' instead of 'lite' and the version number.
Various fixes and improvements
A few quirks previously with some of the new features have been fixed for a better user experience.
Published by franko almost 4 years ago
Fix a buggy behavior appearing when using split windows commands. Upgrade from 1.14 is recommended.
Introduce also a compatibility modification to work well with workspace plugin when using the core:restart
command. Please use the "workspace" plugin from https://github.com/franko/lite-plugins.
Published by franko almost 4 years ago
This release brings a lot of useful changes to make the editor a little bit more user friendly.
Project Management
Add a new command, "Core: Change Project Folder", to change project directory without closing the current window.
All the current opened documents will be closed.
The new command is associated with the keyboard combination ctrl+shit+c
.
A similar command is also added, "Core: Open Project Folder", with key binding ctrl+shift+o
.
It will open the chosen folder in a new window.
In addition Lite XL will now remember the recently used projects across different sessions.
When invoked without arguments it will now open the project more recently used.
If a directory is specified it will behave like before and open the directory indicated as an argument.
Restart command
A Core: Restart command is added to restart the editor without leaving the current window.
Very convenient when modifying the Lua code for the editor itself.
User's setting auto-reload
When saving the user configuration, the user's module, the changes will be automatically applied to the
current instance.
Bundle community provided colors schemes
Included now in the release files the colors schemes from github.com/rxi/lite-colors.
Usability improvements
Improve left and right scrolling of text to behave like other editors and improves text selection with mouse.
Fixes
Correct font's rendering for full hinting mode when using subpixel antialiasing.
Published by franko almost 4 years ago
Optionally choose rendering options when loading fonts:
The option grayscale with full hinting is specially interesting for crisp font rendering
without color artifacts.
Use unix-like install directories for the executable and for the data directory.
The executable will be placed under $prefix/bin and the data folder will be
$prefix/share/lite-xl.
In addtion to the EXEDIR
global variable an additional variable is exposed, DATADIR
,
to point to the data directory.
The old behavior using the "data" directory can be still selected at compile time
using the "portable" option. The released Windows package will use the "data"
directory as before.
Now the Lite XL user's configuration will be stored in the user's home directory under
.config/lite-xl.
The home directory is determined using the "HOME" environment variable (USERPROFILE is used on Windows).
A new global variable USERDIR
is exposed to point to the user's directory.
Published by franko almost 4 years ago
Include an improved detect-indent plugin.
Fix problem about the cursor not blinking properly.