Skip to content
forked from rxi/lite

Fork of the greatest lightweight text editor ever written in Lua

Notifications You must be signed in to change notification settings

r-lyeh/lite-single-header

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lite

screenshot

This is a tailored fork of the greatest lightweight text editor ever written in Lua.

This fork is very specific and you probably meant to visit the original repo instead:

https://github.com/rxi/lite/

Main differences against original repo

If you are still interested in this, here you have some major diffs:

  1. Amalgamated as single-file source.
  2. Platform agnostic now (no more specific SDL calls; tested with GLFW backend).
  3. Specific lt_ platform bits have been moved out to an external file (lite_sys.h)
  4. Lua, stb-truetype and lite_sys headers must be included beforehand.
  5. Embeddable: reverted loop handler from framework to library mode. see: lt_init()/lt_tick()
  6. Data folders reorganized as data/themes, data/languages/ and data/plugins/.
  7. DATADIR path can be specified now (EXEDIR/data/ no longer needed)
  8. Packaged with a bunch of handy plugins from https://github.com/rxi/lite-plugins
  9. Packaged with all color themes from https://github.com/rxi/lite-colors
  10. Merged multi-cursors in from https://github.com/adamharrison/lite-xl
  11. Merged a few pending PRs and pending fixes from original repo.
  12. Fixed for Lua >= 5.2

License

This project is free software; you can redistribute it and/or modify it under the terms of the MIT license.

See LICENSE for details.

About

Fork of the greatest lightweight text editor ever written in Lua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 85.4%
  • C 14.6%