Upcoming release
"'Neil Hodgson' via scite-interest" <[email protected]> Sun, 3 Mar 2024 13:51:58 +1100
| Newsgroups | gmane.editors.scite.general,gmane.comp.lib.scintilla.devel |
|---|---|
| Message-ID | <[email protected]> |
New versions of Lexilla (5.3.1), Scintilla (5.4.2), and SciTE (5.4.2) will be released in a couple of days - likely 5th.
This release contains fixes and features for Lexilla, Scintilla, and SciTE.
Lexilla sees changes to Assembler, Bash, Batch, JavaScript, Python, and Ruby.
Scintilla implements access to the undo history allowing the undo stack to be saved and restored. Much less memory is used for undo. These changes to undo are extensive so this could lead to new bugs.
Changes:
• Lexilla 5.3.1
• Assembler: After comments, treat \r\n line ends the same as \n. This makes testing easier.
• Bash: Fix folding when line changed to/from comment and previous line is comment. Issue #224.
• Batch: Fix handling ':' next to keywords. Issue #222.
• JavaScript: in cpp lexer, add lexer.cpp.backquoted.strings=2 mode to treat ` back-quoted strings as template literals which allow embedded ${expressions}. Issue #94.
• Python: fix lexing of rb'' and rf'' strings. Issue #223, Pull request #227.
• Ruby: fix lexing of methods on numeric literals like '3.times' so the '.' and method name do not appear in numeric style. Issue #225.
• Scintilla 5.4.2
• Significantly reduce memory used for undo actions, often to a half or quarter of previous versions. Feature #1458.
• Add APIs for saving and restoring undo history.
• For GTK, when laying out text, detect runs with both left-to-right and right-to-left ranges and divide into an ASCII prefix and more complex suffix. Lay out the ASCII prefix in the standard manner but, for the suffix, measure the whole width and spread that over the suffix bytes. This produces more usable results where the caret moves over the ASCII prefix correctly and over the suffix reasonably but not accurately.
• For ScintillaEdit on Qt, fix reference from ScintillaDocument to Document to match change in 5.4.1 using IDocumentEditable for SCI_GETDOCPOINTER and SCI_SETDOCPOINTER.
• For Direct2D on Win32, use the multi-threaded option to avoid crashes when Scintilla instances created on different threads. There may be more problems with this scenario so it should be avoided. Bug #2420.
• For Win32, ensure keyboard-initiated context menu appears in multi-screen situations.
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
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/ADD0A5F7-62E1-41FB-9ED5-652C240C1559%40me.com.