Lite XL Changelog

What's new in Lite XL 2.1.4

Apr 16, 2024
  • Features:
  • Add .pyi extension to language_python (#1728)
  • Improve autocomplete suggestions box behavior with long text (#1734)
  • Improve CommandView and autocomplete scroll behavior (#1732)
  • Add from symbol to support ESM (#1754)
  • Add Arduino syntax highlighting support in language_cpp (#1767)
  • Skip patterns matching nothing in tokenizer (#1743)
  • Fixes:
  • Fix uninitialized variables in src/api/process.c (#1719)
  • Fix language_js regex/comment distinction (#1731)
  • Fix compilation on non-MINGW64 platforms (#1739)
  • Limit language_js regex avoidance to numbers, and fix starting /* comments (#1744)
  • Fix buffer_size in g_read for Windows (#1722)
  • Other Changes:
  • Rectify LICENSE dates and owners (#1748)
  • Fix some typos in core.init (#1755)

New in Lite XL 2.1.4 RC 1 (Apr 15, 2024)

  • Features:
  • Add .pyi extension to language_python (#1728)
  • Improve autocomplete suggestions box behavior with long text (#1734)
  • Improve CommandView and autocomplete scroll behavior (#1732)
  • Add from symbol to support ESM (#1754)
  • Add Arduino syntax highlighting support in language_cpp (#1767)
  • Skip patterns matching nothing in tokenizer (#1743)
  • Fixes:
  • Fix uninitialized variables in src/api/process.c (#1719)
  • Fix language_js regex/comment distinction (#1731)
  • Fix compilation on non-MINGW64 platforms (#1739)
  • Limit language_js regex avoidance to numbers, and fix starting /* comments (#1744)
  • Fix buffer_size in g_read for Windows (#1722)
  • Other Changes:
  • Rectify LICENSE dates and owners (#1748)
  • Fix some typos in core.init (#1755)

New in Lite XL 2.1.3 (Apr 15, 2024)

  • Fixes:
  • Fix doc:create-cursor-{previous,next}-line with tabs
  • Fix heap buffer overflow and memory leaks in process and renderer API
  • Improve Python number syntax highlighting
  • Fix inconsistent NagView options on doc:save
  • Fix crashes with autoreload when files are deleted externally and replaced with a directory
  • Improve JavaScript number syntax highlighting
  • Other Changes:
  • Process API style changes

New in Lite XL 2.1.1 (Jan 9, 2023)

  • 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 in Lite XL 2.0.5 (Jan 29, 2022)

  • This new release fixes some outstanding problem with the directory monitoring and add some minor improvements.

New in Lite XL 2.0.4 (Dec 21, 2021)

  • Fix some bugs related to newly introduced directory monitoring using the dmon library.
  • Fix a problem with plain text search using Lua patterns by error.
  • Fix a problem with visualization of UTF-8 characters that caused garbage characters
  • visualization.
  • Other fixes and improvements contributed by @Guldoman and @adamharrison.

New in Lite XL 2.0.3 (Oct 24, 2021)

  • Replace periodic rescan of project folder with a notification based system using the dmon library. Improves performance especially for large project folders since the application no longer needs to rescan.
  • The application also reports immediately any change in the project directory even when the application is unfocused.
  • Provide out-of-branch LuaJIT-based version of the application.
  • Improved find-replace reverse and forward search.
  • Fixed a bug in incremental syntax highlighting affecting documents with multiple-lines comments or strings.
  • The application now always shows the tabs in the documents' view even when a single document is opened. Can be changed with the option config.always_show_tabs.
  • Fix problem with numeric keypad function keys not properly working.
  • Fix problem with pixel not correctly drawn at the window's right edge.
  • Treat correctly and open network paths on Windows.
  • Add some improvements for very slow network filesystems.
  • Fix problem with python syntax highlighting.

New in Lite XL 2.0.2 (Sep 30, 2021)

  • Bug fixes:
  • Fix problem project directory when starting the application from Launcher on macOS.
  • Fix problem when trying to close an unsaved new document.
  • No longer shows an error for the -psn argument passed to the application on macOS.
  • Fix treeview:open-in-system command on Windows.
  • Fix rename command to update name of document if opened.
  • Improvements:
  • Improved LogView. Entries can now be expanded and there is a context menu to copy the item's content.
  • Change the behavior of ctrl+d to add a multi-cursor selection to the next occurrence. The old behavior to move the selection to the next occurrence is now done using the shortcut ctrl+f3.
  • Added a command to create a multi-cursor with all the occurrences of the current selection. Activated with the shortcut ctrl+shift+l.
  • Improve the find and replace dialog so that previously used expressions can be recalled using "up" and "down" keys.
  • Build package script rewrite with many improvements.
  • Style changes:
  • Use bigger fonts by default.