aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/lua.lua
AgeCommit message (Collapse)AuthorFilesLines
2020-08-03lexlua: Deprecated `lexer.fold_line_comments()` in favor of ↵mitchell1-1/+1
`lexer.fold_consecutive_lines()`. Also use `lexer.fold_line_groups` for option that enables this folding, avoiding name clash that plagued the previous option. Added "import" folding for Java.
2020-07-14lexlua: Minor pattern refactoring.mitchell1-1/+1
2020-07-08lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.mitchell1-4/+5
2020-07-07lexlua: Added `lexer.colors` and `lexer.styles` tables for themes and lexers.mitchell1-2/+2
This allows for a more Lua table-oriented approach to defining and using colors and styles, instead of manually manipulating Scintilla property strings. Themes and lexers are still backwards compatible, as the underlying mechanisms are still in place.
2020-04-25Reformatted Lua LPeg lexers and added new convenience functions and pattern.mitchell1-12/+14
`lexer.range()` replaces `lexer.delimited_range()` and `lexer.nested_pair()`. `lexer.to_eol()` replaces `patt * lexer.nonnewline^0` constructs. `lexer.number` replaces `lexer.float + lexer.integer`. Also added unit tests for lexer functions.
2019-12-31Updated copyright year for lexlua-specific bits of LongTerm3.mitchell1-1/+1
2019-02-16Updated copyright year.mitchell1-1/+1
2018-03-11Added optional Lua lexer support.mitchell1-0/+159
This support is disabled by default and must be enabled via compile-time option.