aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexLPeg.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-06-02Fixed improper cast in gcc-4.8.mitchell1-1/+1
2020-05-26Added SCI_PRIVATELEXERCALL API for retrieving the style number of a style name.mitchell1-3/+9
2020-03-29Forgot a 0-to-1 conversion in r8093.mitchell1-1/+1
2020-03-28Switch to 1-based style numbers internally in Lua.mitchell1-6/+6
2020-03-26Switch to 1-based indices in Lua.mitchell1-8/+8
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-62/+56
The SCI_PRIVATELEXERCALL(styleNum, name) API is no longer supported.
2020-03-10Fixed LexLPeg reporting of known lexers on Win32.mitchell1-5/+7
2020-03-07LexLPeg can now report a list of known lexers via SCI_PRIVATELEXERCALL.mitchell1-57/+89
2020-03-06More LexLPeg refactoring, including a safer Lua state.mitchell1-82/+133
Do not load either `io` (Lua 5.1) or `package` modules and updated lexer.lua functions to utilize safer versions of `require()` and `package.searchpath()`. Also support ';'-separated paths for lexers via existing `lexer.lpeg.home` property or new SCI_LOADLEXERLIBRARY API. Refactor to use property constants and class methods for property setting.
2020-03-06More LexLPeg refactoring.mitchell1-70/+92
Added stack assertions and append traceback to error messages.
2020-03-06Formatted LexLPeg.cxx.mitchell1-694/+701
2020-03-05Refactored LexLPeg.mitchell1-318/+343
Style property settings are now case-sensitive.
2020-03-04Modernize LexLPeg.mitchell1-58/+54
2019-12-31Updated copyright year for lexlua-specific bits of LongTerm3.mitchell1-1/+1
2019-02-16Updated copyright year.mitchell1-1/+1
2018-05-07Updated LPeg lexer with PropSetSimple.h changes introduced recently.mitchell1-6/+10
2018-03-25Fixed LPeg lexer incorrectly applying style changes to stale property sets.mitchell1-6/+11
Also, when manually updating the default style, call SCI_STYLECLEARALL in order for subsequent style updates to inherit from the default style.
2018-03-16Fixed compiler warnings in LPeg lexer.mitchell1-8/+7
2018-03-15Use active Scintilla namespace in LPeg lexer.mitchell1-4/+0
2018-03-11Added optional Lua lexer support.mitchell1-0/+795
This support is disabled by default and must be enabled via compile-time option.