| Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
|
|
`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.
|
|
When there is no initial '*_whitespace' style, child lexers should prefer their
parent's grammar rather than their own.
|
|
|
|
The only external, 3rd party lexers that would be affected are those
implementing their own fold functions.
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
This support is disabled by default and must be enabled via compile-time option.
|