github lite-xl/lite-xl v2.1.1
Lite XL v2.1.1

latest releases: v2.1.4, v2.1.4-rc1, v2.1.3...
17 months ago

Notes

  • When installing on MacOS from the .dmg file (since Lite XL is not signed anymore) you will need to clear the App attributes in order to be able to launch it. To do so open the terminal and run xattr -cr /Applications/Lite\ XL.app, afterwards you should be able to launch Lite XL normally.

Addons vs non-addons packages

The addon packages besides including the Lite XL binary also include additional plugins to make the initial experience more accesible. The extra features the addon packages include are:

  • All language plugins.
  • All color scheme plugins.
  • Widgets + settings gui plugin for easier configuration.
  • Open externally plugin, which detects if a file been open is valid utf-8 and offers to open it externally if not.

New Features

  • Add config.keep_newline_whitespace option (#1184)

  • Add regex.find_offsets, regex.find, improve regex.match (#1232)

  • Added regex.gmatch (#1233)

  • add touch events (#1245)

Performance Improvements

  • highlighter: autostop co-routine when not needed (#881)

  • core: ported regex.gsub to faster native version (#1233)

Backward Incompatible Changes

  • For correctness, the behaviour of regex.match was changed to more closely behave like string.match.

  • regex.find_offsets now provides the previous functionality of regex.match with a more appropriate function name.

  • regex.gsub doesn't provides the indexes of matches and replacements anymore, now it behaves more similar to string.gsub (the only known affected plugin was regexreplacepreview which has already been adapted)

UI Enhancements

  • statusview: respect right padding of item tooltip (0373d29f)

  • feat: encode home in statusview file path (#1224)

  • autocomplete: wrap the autocomplete results around (#1223)

  • feat: alert user via nagview if file cannot be saved (#1230)

  • contextmenu: make divider less aggressive (#1228)

  • Improve IME location updates (#1170)

  • fix: move tab scroll buttons to remove spacing before 1st tab (#1231)

  • Allow TreeView file operation commands when focused (#1256)

  • contextmenu: adjust y positioning if less than zero (#1268)

Fixes

  • Don't sort in Doc:get_selection_idx with an invalid index (b029f599)

  • tokenizer: remove the limit of 3 subsyntaxes depth (#1186)

  • dirmonitor: give kevent a timeout so it doesn't lock forever (#1180)

  • dirmonitor: fix win32 implementation name length to prevent ub (5ab8dc0)

  • Make linewrapping plugin recompute breaks before scrolling (#1190)

  • Add missing get_exe_filename() implementation for FreeBSD (#1198)

  • (Windows) Load fonts with UTF-8 filenames (#1201)

  • Use subsyntax info to toggle comments (#1202)

  • Pass the currently selected item to CommandView validation (#1203)

  • Windows font loading hotfix (#1205)

  • better error messages for checkcolor (#1211)

  • Fix native plugins not reloading upon core:restart (#1219)

  • Converted from bytes to characters, as this is what windows is expecting (5ab8dc02)

  • Fix some syntax errors (#1243)

  • toolbarview: Remove tooltip when hidden (#1251)

  • detectindent: Limit subsyntax depth (#1253)

  • Use Lua string length instead of relying on strlen (#1262) (#1262)

  • dirmonitor: fix high cpu usage (#1271), (#1274)

  • Fix popping subsyntaxes that end consecutively (#1246)

  • Fix userdata APIs for Lua 5.4 in native plugin interface (#1188)

  • Fix horizontal scroll with touchpad on MacOS (74349f8e)

Other Changes

  • (Windows) MSVC Support (#1199)

  • meson: updated all subproject wraps (#1214)

  • set arch tuple in meson (#1254)

  • update documentation for system (#1210)

  • docs api: added dirmonitor (7bb86e16)

  • trimwhitespace: expose functionality and extra features (#1238)

  • plugins projectsearch: expose its functionality (#1235)

  • Simplify SDL message boxes (#1249)

  • Add example settings to overwrite an existing key binding (#1270)

  • Fix two typos in data/init.lua (#1272)

  • Updated meson wraps to latest (SDL v2.26, PCRE2 v10.42)

New Contributors

Full Changelog: v2.1.0...v2.1.1

Don't miss a new lite-xl release

NewReleases is sending notifications on new releases.