1f276c0bcb
In the function Node:get_divider_overlapping_point() we check if we hit a divider (separator between two nodes). If yes the event is intercepted and used to set the cursor and drag the separator if appropriate. In reality, on mouse move events, when one of the node is a split and one of its child is not resizable we don't set the cursor to and we don't intercept the event. However on a mouse pressed event the event was intercepted regardless of the fact that the child nodes are resizable or not. This latter behavior was unwanted as it prevents mouse clicks to be processed because of a divided that is inactive. In addition it prevented processing of mouse clicks when the child node was invisible leading to issue #363. For this latter the issue was the invisible NagView in the upper part of the window. To fix the problem we provide a divider with Node:get_divider_overlapping_point() only if its child node are resizable. In this way the mouse clicks or movements are intercepted only if the divider is actually active. |
||
---|---|---|
.github | ||
data | ||
docs | ||
lib/font_renderer | ||
licenses | ||
resources | ||
scripts | ||
src | ||
subprojects | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
build-packages.sh | ||
changelog.md | ||
meson.build | ||
meson_options.txt |
README.md
Lite XL
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.