You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Updated Ruby, C++, D, Gleam, Nim, and Verilog lexers to fix binary number parsing.
Fixed lexer.line_from_position() for start positions after 1.
Fixed inability for standalone Lua library to use lexers that call lexer.line_from_position(),
index lexer.indent_amount, or index lexer.line_state.
Updated Bash lexer to improve heredoc handling.
Changes:
Removed support for old legacy lexers.
Rewrote Scintillua lexer to behave like a typical Scintilla lexer.
Renamed to Scintillua from LexLPeg.
Renamed lpeg.home library property to scintillua.lexers.
Removed lpeg.color.theme library property
CreateLexer() is the only way to load lexers now; no more private call API.
Removed all styling capability. Applications are responsible for setting styles.
Implemented ILexer5's NamedStyles() and NameOfStyles() so editors can construct style map.
Replaced Lua theme files with SciTE properties files in themes/ for demonstration.
Renamed fold.* properties to fold.scintillua.*.
Added GetCreateLexerError() function for fetching CreateLexer() errors.
Added lexer detection via SCI_PRIVATELEXERCALL or lexer.detect() to help clients
determine which lexers are associated with which filenames and content line patterns.
Updated AWK and Django lexers with updated keywords and functions/filters.
Removed fold.line.groups property and lexer.fold_consecutive_lines().
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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