Upcoming release

18 views
Skip to first unread message

Neil Hodgson

unread,
Dec 21, 2023, 11:45:58 PM12/21/23
to scintilla-interest, scite-interest
New versions of Lexilla (5.3.0), Scintilla (5.4.1), and SciTE (5.4.1)
will be released in a few days - likely 27th.

This release contains fixes and features for Lexilla, Scintilla, and
SciTE. Lexilla sees changes to Bash, HTML, and Lua.

Scintilla adds an IDocumentEditable interface to efficiently interact
with document objects even when they are not assigned to a Scintilla
view. The supporting changes to ScintillaCall may cause type mismatch
compilation errors for existing applications.

Changes:

SciTE 5.4.1

Support opening huge files from command line or file manager context menu.
Allow "~/" with Open Selected Filename to open home directory paths.
Feature #1504.
On Windows, add "lowpriority" command.mode option which may avoid poor
UI performance when running heavy jobs.
Allow empty lines in 'if' clauses again. Bug #2419.

Lexilla 5.3.0

Fix calling AddStaticLexerModule by defining as C++ instead of C which
matches header. Bug #2421.
Bash: Fix shift operator << incorrectly recognized as here-doc. Issue #215.
Bash: Fix termination of '${' with first unquoted '}' instead of
nesting. Issue #216.
HTML: JavaScript double-quoted strings may escape line end with '\'. Issue #214.
Lua: recognize --- doc comments. Defined by LDoc. Does not recognize
--[[-- doc comments which seem less common.

Scintilla 5.4.1

Add IDocumentEditable interface to allow efficient interaction with
document objects which may not be visible in a Scintilla instance.
This feature is provisonal and may change before being declared
stable. For better type-safety, the ScintillaCall C++ API uses
IDocumentEditable* where void* was used before which may require
changes to client code that uses document pointer APIs DocPointer,
SetDocPointer, CreateDocument, AddRefDocument, and ReleaseDocument.
Ctrl-click on a selection deselects it in multiple selection mode.
Add SCI_SELECTIONFROMPOINT for modifying multiple selections.
Add SCI_SETMOVEEXTENDSSELECTION and SCI_CHANGESELECTIONMODE to
simplify selection mode manipulation.
Improve performance of global replace by reducing cache invalidation
overhead. Feature #1502.
Fix regular expression search for "\<" matching beginning of search
when not beginning of word and for "\>" not matching line end. Bug
#2157.
Fix regular expression search failure when search for "\<" followed by
search for "\>". Bug #2413.
Fix regular expression assertion (^, $, \b. \B) failures when using
SCFIND_CXX11REGEX. Bug #2405.
Fix regular expression bug in reverse direction where shortened match
returned. Bug #2405.
Avoid character fragments in regular expression search results. Bug #2405.
With a document that does not have the SC_DOCUMENTOPTION_TEXT_LARGE
option set, allocating more than 2G (calling SCI_ALLOCATE or similar)
will now fail with SC_STATUS_FAILURE.
Protect SCI_REPLACETARGET, SCI_REPLACETARGETMINIMAL, and
SCI_REPLACETARGETRE from application changing target in notification
handlers. Bug #2289.

The committed changes can be examined either in the repositories

git clone https://github.com/ScintillaOrg/lexilla
hg clone http://hg.code.sf.net/p/scintilla/code scintilla
hg clone http://hg.code.sf.net/p/scintilla/scite

or from

https://www.scintilla.org/scite.zip Source
https://www.scintilla.org/wscite.zip Windows executable (64-bit)

Neil
Reply all
Reply to author
Forward
0 new messages