Skip to content
/ lite Public
forked from rxi/lite

A lightweight text editor written in LuaJIT (Custom version of rxi/lite)

License

Notifications You must be signed in to change notification settings

maihd/lite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lite

screenshot

A lightweight text editor written in Lua

Overview

lite is a lightweight text editor written mostly in Lua — it aims to provide something practical, pretty, small and fast, implemented as simply as possible; easy to modify and extend, or to use without doing either.

Note

This fork is attempt to speed up the application, and adding features for personal use. And importantly, this fork use LuaJIT, some plugins must be port (table.unpack -> unpack), and FFI is not disabled, use at your risk. If you sometimes found this fork is complex or hard to understand, remember this physiology phrase: The simple will be keep in the interfaces, implementation will be seperated into two categories: simple and optimized. This editor don't and won't support C++ editting. For C++, I will use full IDE for the jobs.

Production ready Lite forks (recommended):

Install and Update

  • Run install.bat to install. Which contains theses steps:

    • Building with clang
    • Add edit with lite to OS context menu
    • Add path to environment
  • Run update.bat to update. Which contains theses steps:

    • Pulling from github repo
    • Building with clang

ROADMAP

Different from todos. This docs describe flow to make Lite better, the road to convert from Lite -> MaiMacs. See roadmap.md

Changes

See changelog.md

TODOs

See todos.md

Customization

Additional functionality can be added through plugins which are available from the plugins repository; additional color themes can be found in the colors repository. The editor can be customized by making changes to the user module.

Building

Note that the project does not need to be rebuilt if you are only making changes to the Lua portion of the code.

On Linux: You can build the project yourself on Linux using the build.sh script

On Windows:

  • using the build_clang.bat script (clang, native-like build).
  • using the build_mingw.bat script (MinGW/Msys2 for Windows, does not depend on VCredist)

Building with premake5

  • Running premake5 <toolchain> (gmake, XCode, Visual Studio, premake5 --help for more details)
  • Open/build with your selection toolchain
  • Open build folder if in debug mode, root location if in release mode

Contributing

Any additional functionality that can be added through a plugin should be done so as a plugin, after which a pull request to the plugins repository can be made. In hopes of remaining lightweight, pull requests adding additional functionality to the core will likely not be merged. Bug reports and bug fixes are welcome.

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

A lightweight text editor written in LuaJIT (Custom version of rxi/lite)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.2%
  • Lua 10.4%
  • HTML 2.3%
  • C++ 0.4%
  • Makefile 0.4%
  • M4 0.3%
  • Other 1.0%