Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-08-23 | lexlua: Documented color restrictions for the curses platform. | mitchell | 1 | -1/+13 | |
2020-08-03 | lexlua: Deprecated `lexer.fold_line_comments()` in favor of ↵ | mitchell | 51 | -68/+85 | |
`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-27 | lexlua: Added C99 bool, true, and false to C lexer. | mitchell | 1 | -1/+3 | |
2020-07-27 | lexlua: Updated LuaDoc documentation. | mitchell | 1 | -4/+4 | |
2020-07-18 | lexlua: Alias `lexer.fold*` to `lexer.property['fold*']`. | mitchell | 1 | -0/+25 | |
This makes things simpler for applications that supply a Lua state; they do not have to manipulate property sets. | |||||
2020-07-14 | lexlua: Minor pattern refactoring. | mitchell | 120 | -154/+154 | |
2020-07-13 | lexlua: Deprecated some unused lexer patterns. | mitchell | 4 | -21/+19 | |
2020-07-13 | lexlua: Return `lexer.colors.name` as a number if possible. | mitchell | 1 | -1/+4 | |
2020-07-08 | lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`. | mitchell | 43 | -107/+108 | |
2020-07-07 | lexlua: Added `lexer.colors` and `lexer.styles` tables for themes and lexers. | mitchell | 15 | -432/+442 | |
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-25 | lexlua: Updated Markdown lexer to handle code blocks and spans better. | mitchell | 1 | -7/+15 | |
Thanks to Alexander Misel. | |||||
2020-06-10 | Revert previous commit. | mitchell | 1 | -2/+2 | |
2020-06-10 | Support American English "changable" style setting in LexerLPeg. | mitchell | 1 | -3/+3 | |
2020-06-01 | lexlua: Added Fennel lexer. | mitchell | 1 | -0/+37 | |
Thanks to Momohime Honda. | |||||
2020-04-25 | Reformatted Lua LPeg lexers and added new convenience functions and pattern. | mitchell | 121 | -1338/+1245 | |
`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-29 | lexlua: Fixed incorrect grammar building for lexers that embed themselves. | mitchell | 1 | -1/+2 | |
When there is no initial '*_whitespace' style, child lexers should prefer their parent's grammar rather than their own. | |||||
2020-03-28 | Switch to 1-based style numbers internally in Lua. | mitchell | 1 | -57/+54 | |
2020-03-26 | Switch to 1-based indices in Lua. | mitchell | 1 | -11/+11 | |
The only external, 3rd party lexers that would be affected are those implementing their own fold functions. | |||||
2020-03-06 | More LexLPeg refactoring, including a safer Lua state. | mitchell | 1 | -24/+22 | |
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-01-07 | lexlua: Removed unnecessary `lpeg.B()` in Rust lexer. | mitchell | 1 | -2/+2 | |
Rule order makes it such that the 'r#' prefix will never happen prior to a keyword. | |||||
2020-01-04 | Always use string property values in lexlua themes. | mitchell | 3 | -6/+6 | |
2019-12-31 | Updated copyright year for lexlua-specific bits of LongTerm3. | mitchell | 130 | -130/+130 | |
2019-12-28 | lexlua: Added txt2tags lexer. | mitchell | 1 | -0/+196 | |
Thanks to Julien L. | |||||
2019-10-12 | lexlua: Prevent double-counting of fold points on a single line. | mitchell | 1 | -1/+1 | |
If a fold word appears more than once on a line, ensure that each occurrence satisfies the fold point criteria, rather than just one of them. | |||||
2019-10-12 | lexlua: Added MediaWiki lexer. | mitchell | 1 | -0/+58 | |
Thanks to Alexander Misel. | |||||
2019-09-20 | lexlua: Removed `print()` statement in updated prolog lexer. | mitchell | 1 | -2/+0 | |
2019-09-20 | lexlua: More updates to logtalk and prolog lexers. | mitchell | 2 | -138/+390 | |
Thanks to Michael Richter. | |||||
2019-09-20 | lexlua: C lexer recognizes indented preprocessor words. | mitchell | 1 | -5/+2 | |
2019-09-20 | lexlua: Updated Rust lexer. | mitchell | 1 | -21/+49 | |
Thanks to Gabriel Bertilson. | |||||
2019-09-17 | Updated Prolog and Logtalk lexers. | mitchell | 2 | -17/+28 | |
Thanks to Michael Richter. | |||||
2019-06-04 | lexlua: Support single quotes in C++14 integer literals. | mitchell | 1 | -1/+5 | |
2019-06-02 | lexlua: Updated Markdown lexer. | mitchell | 1 | -6/+24 | |
Thanks to Alexander Misel. | |||||
2019-04-08 | lexlua: Fixed rule order in YAML lexer. | mitchell | 1 | -1/+1 | |
2019-04-08 | lexlua: Fixed lack of highlighting strings in YAML. | mitchell | 1 | -0/+1 | |
2019-03-27 | lexlua: Added support for CSS 3. | mitchell | 1 | -2/+9 | |
2019-02-16 | Updated copyright year. | mitchell | 129 | -129/+129 | |
2019-01-31 | Updated dmd lexer. | mitchell | 1 | -4/+3 | |
Thanks to Jonathon Levi. | |||||
2019-01-31 | Do not match '..' on the trailing end of floats. | mitchell | 1 | -1/+2 | |
2018-11-25 | lexlua: Updated ConTeXt Lua lexer with proper diff. | mitchell | 1 | -10/+14 | |
2018-11-25 | lexlua: Updated ConTeXt lexer. | mitchell | 1 | -15/+19 | |
Thanks to Lars Otter. | |||||
2018-10-24 | lexlua: Fixed typo in a previous commit to lexer.lua. | mitchell | 1 | -1/+1 | |
2018-10-24 | lexlua: Updated Markdown lexer. | mitchell | 1 | -8/+13 | |
Thanks to Alexander Misel. | |||||
2018-10-24 | lexlua: Tweaked newline pattern to be more syntactically accurate. | mitchell | 1 | -2/+2 | |
2018-10-12 | lexlua: Improved HTML folding of traditionally single elements. | mitchell | 1 | -15/+25 | |
Before, elements were only folded if they were XHTML valid. | |||||
2018-10-07 | lexlua: Handle CR+LF in horizontal rules for Markdown. | mitchell | 1 | -2/+2 | |
2018-08-10 | lexlua: Updated ConTeXt lexer. | mitchell | 1 | -2/+6 | |
2018-06-16 | Fixed incorrect highlighting of indented markdown lists. | mitchell | 1 | -5/+5 | |
They were being identified as blockcode. | |||||
2018-06-12 | Fixed child lexers that embed themselves into parents and fixed proxy lexers. | mitchell | 1 | -6/+8 | |
Since the _NAME field of the parent lexer was changed, embedded child references to it are no longer valid. Keep a copy of the parent name for reference. | |||||
2018-06-05 | Handle legacy lexer "_fold" functions. | mitchell | 1 | -0/+2 | |
2018-04-07 | lexlua: Added 'var' keyword for C#. | mitchell | 1 | -1/+1 | |