lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Jun 1, 2011 at 2:42 PM, Greg <tghill@hotmail.com> wrote:
> I'm trying to add syntax highlighting to an in-house lua editing suite.
> Currently I parse the entire file after every keystroke which is fine on small
> files but really slows down with larger files.

One solution is to use an editing component that is designed from the
ground up to work with LPeg lexers:

http://code.google.com/p/scintillua/

It's used in Textadept and works really well.

steve d.