Go to file
Francesco Abbate 1f276c0bcb Fix inactive divider intercepting mouse clicks
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.
2021-08-04 22:13:56 +02:00
.github InnoSetup build scripts 2021-07-13 23:41:32 +02:00
data Fix inactive divider intercepting mouse clicks 2021-08-04 22:13:56 +02:00
docs Namespaced aliases, virtual classes and added missing returns. 2021-07-09 18:33:25 -04:00
lib/font_renderer Removed legacy build system. 2021-07-15 20:47:44 -04:00
licenses Moved documentation to the website repository, updated README (#247) 2021-06-03 18:57:26 +02:00
resources Use lite-xl as project and exacutable names 2021-06-25 22:54:02 +02:00
scripts InnoSetup build scripts 2021-07-13 23:41:32 +02:00
src Merged dev to master. 2021-07-20 14:39:50 -04:00
subprojects Merge reproc changes from dev. 2021-06-18 14:19:09 -04:00
.editorconfig Added Editorconfig for the project (#228) 2021-07-15 18:01:22 -04:00
.gitattributes Merge pull request #309 from redtide/git-line-endings 2021-06-30 11:13:42 -04:00
.gitignore Updated .gitignore 2021-08-04 11:13:51 -07: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 Use lite-xl as project and exacutable names 2021-06-25 22:54:02 +02:00
changelog.md Update changelog and release number 2021-05-27 13:46:51 +02:00
meson.build InnoSetup build scripts 2021-07-13 23:41:32 +02:00
meson_options.txt InnoSetup build scripts 2021-07-13 23:41:32 +02: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.