Preparing for 6.0 #77
orbitalquark
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Scintillua 6.0 will be a major new release. Scintilla-based applications will need to be changed, as the Scintilla lexer was renamed, rewritten, and no longer performs its own styling -- editors are responsible for styling. From the initial changelog:
lpeg.home
library property toscintillua.lexers
.lpeg.color.theme
library propertyCreateLexer()
is the only way to load lexers now; no more private call API.NamedStyles()
andNameOfStyles()
so editors can construct style map.fold.*
properties tofold.scintillua.*
.GetCreateLexerError()
function for fetchingCreateLexer()
errors.lexer.token()
in favor oflexer.tag()
and made it an instance method.lexer.property_expanded
.lexer.new()
have a default whitespace rule; deprecatedlexer.WHITESPACE
.lexer.new()
have a default set of user word lists.Scintillua 5 lexers are considered to be "new" legacy lexers and will eventually need to be migrated. They should mostly run without issue for now. Issue #76 tracks which lexers still need to be migrated.
These changes are now in the repository.
Beta Was this translation helpful? Give feedback.
All reactions