aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/LPegLexer.html
AgeCommit message (Collapse)AuthorFilesLines
2020-07-18lexlua: Alias `lexer.fold*` to `lexer.property['fold*']`.mitchell1-0/+45
This makes things simpler for applications that supply a Lua state; they do not have to manipulate property sets.
2020-07-13lexlua: Updated documentation.mitchell1-3/+3
2020-07-07lexlua: Added `lexer.colors` and `lexer.styles` tables for themes and lexers.mitchell1-404/+205
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-06-01lexlua: Added Fennel lexer.mitchell1-0/+2
Thanks to Momohime Honda.
2020-05-26Added SCI_PRIVATELEXERCALL API for retrieving the style number of a style name.mitchell1-1/+12
2020-04-25Reformatted Lua LPeg lexers and added new convenience functions and pattern.mitchell1-120/+113
`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.
2020-03-26Switch to 1-based indices in Lua.mitchell1-6/+6
The only external, 3rd party lexers that would be affected are those implementing their own fold functions.
2020-03-11LexLPeg now implements DefaultLexer and NameOfStyle().mitchell1-15/+15
The SCI_PRIVATELEXERCALL(styleNum, name) API is no longer supported.
2020-03-07LexLPeg can now report a list of known lexers via SCI_PRIVATELEXERCALL.mitchell1-13/+64
2019-12-28lexlua: Added txt2tags lexer.mitchell1-0/+2
Thanks to Julien L.
2019-10-12lexlua: Added MediaWiki lexer.mitchell1-0/+1
Thanks to Alexander Misel.
2019-02-18Added documentation on using Scintilla as a Lua library.mitchell1-0/+32
2019-02-18Updated Lua LPeg lexer credits.mitchell1-0/+3
2018-03-11Added optional Lua lexer support.mitchell1-0/+2608
This support is disabled by default and must be enabled via compile-time option.