Skip to content

Using Libraries

Lite XL implements most of the functionalities in Lua, but it would be impossible to create a window, get input events, or perform various filesystem operations in pure Lua, without relying on functions provided by the platform.

Lite XL has its own bindings to SDL2, which provides cross-platform abstractions to windowing and event handling. Other than that Lite XL also uses PCRE2 to provide support for regular expressions as Lua only has a simple pattern-based matching engine. Finally, Lite XL provides an API for running starting and managing programs, as well as handling the input / output of the program without blocking the editor.

In this section

Topic Description
Using Regular Expressions Learn to use regular expressions in plugins or user configuration.
Interacting with the OS Learn how to interact with the OS, such as the clipboard and querying high-resolution time.
Child Processes Learn how to use the Process API to start and manage child processes.