Go to file
Francesco Abbate 527b11029e Create new document if file doesn't exist
If a non-existing file is specified with the command "core:open-file"
a new document is opened with the given filename provided the directory
already exists.

The flag new_file is set to true in the Doc instance.

The file will be actually created only when the "save" command is used.

The document will be marked with the "*" event when no changes are done
to mean that it is a new file and is not yet saved.

The function common.normalize_path now process the .. and . in the
filename. Before was not needed because system.absolute_path already
get rid of them but now we need to have the absolute path of files
that not yet exists so we cannot use system.absolute_path.
2021-06-04 16:03:46 +02:00
.github Use explicit dispatch to trigger CI builds 2021-05-01 22:56:04 +02:00
data Create new document if file doesn't exist 2021-06-04 16:03:46 +02:00
dev-utils Add macos access request for Downloads folder 2021-05-23 15:23:04 +02:00
lib/font_renderer Fix problem with glyph spacing in subpixel mode 2021-03-07 18:38:47 +01:00
licenses Moved documentation to the website repository, updated README (#247) 2021-06-03 18:57:26 +02:00
src Scale fonts context menu (#246) 2021-06-03 22:49:37 +02:00
subprojects Update subproject reference to libagg 2021-03-23 08:54:45 +01:00
.gitattributes Added `icon.inl linguist-vendored` to .gitattributes 2020-05-10 15:54:09 +01:00
.gitignore added .tar.gz files to .gitignore 2021-04-25 11:45:34 +02:00
LICENSE Switch to FiraSans and JetBrainsMono fonts 2021-05-22 15:09:54 +02:00
README.md Update README.md 2021-06-03 15:23:54 -04:00
build-packages.sh Update build package script for window 2021-05-06 09:36:39 +02:00
build.sh Add PCRE to support regular expressions 2021-06-02 21:27:00 +02:00
changelog.md Support for changing fonts per syntax group (#178) 2021-06-04 16:01:25 +02:00
icon.ico Updated icon 2020-05-09 11:33:16 +01:00
icon.inl Updated icon 2020-05-09 11:33:16 +01:00
meson.build Fix: broken build-packages.sh (#251) 2021-06-03 21:43:09 +02:00
meson_options.txt Make usage of SDL renderer optional 2021-04-29 14:15:24 +02:00
res.rc Initial commit 2019-12-28 11:17:56 +00:00

README.md

Lite XL

Discord Badge Image

screenshot-dark

A lightweight text editor written in Lua, adapted from lite.

  • Get Lite XL — Download for Windows, Linux and Mac OS (notarized app).
  • Get plugins — Add additional functionality, adapted for Lite XL.
  • Get color themes — Add additional colors themes.

Please refer to our website for the user and developer documentation, including build instructions.

Lite XL has support for high DPI display on Windows and Linux and, since 1.16.7 release, it supports retina displays on macOS.

Please note that Lite XL is compatible with lite for most plugins and all color themes. We provide a separate lite-plugins repository for Lite XL, because in some cases some adaptations may be needed to make them work better with Lite XL. The repository with modified plugins is https://github.com/franko/lite-plugins.

The changes and differences between Lite XL and rxi/lite are listed in the changelog.

Overview

Lite XL is derived from lite. It is a lightweight text editor written mostly in Lua — it aims to provide something practical, pretty, small and fast easy to modify and extend, or to use without doing either.

The aim of Lite XL compared to lite is to be more user friendly, improve the quality of font rendering, and reduce CPU usage.

Customization

Additional functionality can be added through plugins which are available in the plugins repository or in the Lite XL plugins repository.

Additional color themes can be found in the colors repository. These color themes are bundled with all releases of Lite XL by default.

Contributing

Any additional functionality that can be added through a plugin should be done as a plugin, after which a pull request to the plugins repository can be made.

If the plugin uses any Lite XL-specific functionality, please open a pull request to the Lite XL plugins repository.

Pull requests to improve or modify the editor itself are welcome.

Licenses

This project is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.

See the licenses file for details on licenses used by the required dependencies.