aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/html.lua
AgeCommit message (Collapse)AuthorFilesLines
2020-07-14lexlua: Minor pattern refactoring.mitchell1-2/+2
2020-07-13lexlua: Deprecated some unused lexer patterns.mitchell1-1/+1
2020-07-08lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.mitchell1-7/+7
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-19/+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-10-12lexlua: Improved HTML folding of traditionally single elements.mitchell1-15/+25
Before, elements were only folded if they were XHTML valid.
2018-03-11Added optional Lua lexer support.mitchell1-0/+149
This support is disabled by default and must be enabled via compile-time option.