Scintillua 6.0 #79
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 is released from https://github.com/orbitalquark/scintillua/releases/tag/scintillua_6.0
Scintillua 6.0 is a major new release that is not compatible with previous releases. Scintillua is now a proper Scintilla lexer and no longer sets its own styles -- editors are responsible for doing so. Please read the updated manual for how to use the rewritten lexer. When using Scintillua with SciTE, SciTE 5.3.0 is the minimum required version. When using Scintillua as a standalone Lua library, there shouldn't be as many disruptions. The full set of changes is below.
Bugfixes:
lexer.line_from_position()
for start positions after 1.lexer.line_from_position()
,index
lexer.indent_amount
, or indexlexer.line_state
.Changes:
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
.or os libraries).
lexer.new()
have a default whitespace rule; deprecatedlexer.WHITESPACE
.allow_indent
option tolexer.starts_line()
.lexer.last_char_includes()
in favor oflexer.after_set()
.lexer.NOTHING
tag/token in favor of the existinglexer.DEFAULT
.start_pos
argument tolexer.fold()
.lexer.word_match()
can be used as an instance method for enabling users to set, replace, orextend word lists.
lexer.number_()
and friends for creating patterns that match numbers separatedby arbitrary characters.
lexer.to_eol()
.lexer.
lexer.detect()
to help clientsdetermine which lexers are associated with which filenames and content line patterns.
fold.line.groups
property andlexer.fold_consecutive_lines()
.Beta Was this translation helpful? Give feedback.
All reactions