Skip to content

Scintillua enables Scintilla lexers to be written in Lua, particularly using LPeg. It can also be used as a standalone Lua library for syntax highlighting support.

License

Notifications You must be signed in to change notification settings

mcepl/scintillua

Repository files navigation

Scintillua

Overview

Scintillua adds dynamic Lua LPeg lexers to Scintilla. It is the quickest way to add new or customized syntax highlighting and code folding for programming languages to any Scintilla-based text editor or IDE. Scintillua was designed to be dropped into or compiled with any Scintilla environment.

At this time, Scintillua only supports the long-term Scintilla 3.x branch, not the 4.x main line.

Scintillua may also be used as a Lua library for obtaining syntax highlighting information of source code snippets.

Features

  • Drop-in installation in most Scintilla environments -- no modifications to Scintilla are necessary.
  • Support for over 100 programming languages.
  • Easy lexer embedding for multi-language lexers.
  • Universal color themes.
  • Comparable speed to native Scintilla lexers.
  • Can be used as a Lua library (Scintilla is not required).

Requirements

Scintillua only requires Scintilla 2.25 or greater (but less than 4.0). Lua and LPeg have been pre-compiled into the external lexer and you can download their source files using the links above should you choose to compile Scintillua directly into a Scintilla-based application.

When used a Lua library, Scintillua requires Lua 5.1 or greater and LPeg 0.12 or greater.

Download

Download Scintillua from the project's download page or from these quick links:

Stable Builds

Unstable Builds

Warning: nightly builds are untested, may have bugs, and are the absolute cutting-edge versions of Scintillua. Do not use them in production, but for testing purposes only.

If necessary, you can obtain PGP signatures from the download page along with a public key in order to verify download integrity. For example on Linux, after importing the public key via gpg --import foicica.pgp and downloading the appropriate signature, run gpg --verify [signature].

Installation and Usage

Scintillua comes with a manual and API documentation in the doc/ directory. They are also available online.

Contact

Contact me by email: mitchell.att.foicica.com.

There is also a mailing list.

About

Scintillua enables Scintilla lexers to be written in Lua, particularly using LPeg. It can also be used as a standalone Lua library for syntax highlighting support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 95.9%
  • C++ 3.2%
  • Other 0.9%