Skip to content

update scintilla 5.3.4 and lexilla 5.2.4 with:#13338

Closed
chcg wants to merge 2 commits intonotepad-plus-plus:masterfrom
chcg:scintilla534
Closed

update scintilla 5.3.4 and lexilla 5.2.4 with:#13338
chcg wants to merge 2 commits intonotepad-plus-plus:masterfrom
chcg:scintilla534

Conversation

@chcg
Copy link
Contributor

@chcg chcg commented Mar 12, 2023

https://www.scintilla.org/scintilla534.zip

Released 8 March 2023.
Add multithreaded wrap to significantly improve performance of wrapping large files.
More typesafe bindings of *Full APIs in ScintillaCall. Feature #1477.
Fix overlapping of text with line end wrap marker. Bug #2378.
Fix clipping of line end wrap symbol for SC_WRAPVISUALFLAGLOC_END_BY_TEXT.
Where a multi-byte character contains multiple styles, display each byte as a representation. This makes it easier to see and fix lexers that change styles mid-character, commonly because they use fixed size buffers.
Fix a potential crash with autocompletion list fill-ups where a SCN_CHARADDED handler retriggered an autocompletion list, but with no items that match the typed character.

https://www.scintilla.org/lexilla523.zip

Released 8 March 2023.
Add scripts/PromoteNew.bat script to promote .new files after checking.
Makefile: Remove 1024-byte line length limit..
Ruby: Add new lexical classes for % literals SCE_RB_STRING_W (%w non-interpolable string array), SCE_RB_STRING_I (%i non-interpolable symbol array), SCE_RB_STRING_QI (%I interpolable symbol array), and SCE_RB_STRING_QS (%s symbol). Issue #124.
Ruby: Disambiguate %= which may be a quote or modulo assignment. Issue #124, Bug #1255, Bug #2182.
Ruby: Fix additional fold level for single character in SCE_RB_STRING_QW. Issue #132.
Ruby: Set SCE_RB_HERE_QQ for unquoted and double-quoted heredocs and SCE_RB_HERE_QX for backticks-quoted heredocs. Issue #134.
Ruby: Recognise #{} inside SCE_RB_HERE_QQ and SCE_RB_HERE_QX. Issue #134.
Ruby: Improve regex and heredoc recognition. Issue #136.
Ruby: Highlight #@, #@@ and #$ style interpolation. Issue #140.
Ruby: Fix folding for multiple heredocs started on one line. Fix folding when there is a space after heredoc opening delimiter. Issue #135.
YAML: Remove 1024-byte line length limit.

https://www.scintilla.org/scintilla534.zip

    Released 8 March 2023.
    Add multithreaded wrap to significantly improve performance of wrapping large files.
    More typesafe bindings of *Full APIs in ScintillaCall. Feature notepad-plus-plus#1477.
    Fix overlapping of text with line end wrap marker. Bug notepad-plus-plus#2378.
    Fix clipping of line end wrap symbol for SC_WRAPVISUALFLAGLOC_END_BY_TEXT.
    Where a multi-byte character contains multiple styles, display each byte as a representation. This makes it easier to see and fix lexers that change styles mid-character, commonly because they use fixed size buffers.
    Fix a potential crash with autocompletion list fill-ups where a SCN_CHARADDED handler retriggered an autocompletion list, but with no items that match the typed character.

https://www.scintilla.org/lexilla523.zip

    Released 8 March 2023.
    Add scripts/PromoteNew.bat script to promote .new files after checking.
    Makefile: Remove 1024-byte line length limit..
    Ruby: Add new lexical classes for % literals SCE_RB_STRING_W (%w non-interpolable string array), SCE_RB_STRING_I (%i non-interpolable symbol array), SCE_RB_STRING_QI (%I interpolable symbol array), and SCE_RB_STRING_QS (%s symbol). Issue notepad-plus-plus#124.
    Ruby: Disambiguate %= which may be a quote or modulo assignment. Issue notepad-plus-plus#124, Bug notepad-plus-plus#1255, Bug notepad-plus-plus#2182.
    Ruby: Fix additional fold level for single character in SCE_RB_STRING_QW. Issue notepad-plus-plus#132.
    Ruby: Set SCE_RB_HERE_QQ for unquoted and double-quoted heredocs and SCE_RB_HERE_QX for backticks-quoted heredocs. Issue notepad-plus-plus#134.
    Ruby: Recognise #{} inside SCE_RB_HERE_QQ and SCE_RB_HERE_QX. Issue notepad-plus-plus#134.
    Ruby: Improve regex and heredoc recognition. Issue notepad-plus-plus#136.
    Ruby: Highlight #@, #@@ and #$ style interpolation. Issue notepad-plus-plus#140.
    Ruby: Fix folding for multiple heredocs started on one line. Fix folding when there is a space after heredoc opening delimiter. Issue notepad-plus-plus#135.
    YAML: Remove 1024-byte line length limit.
@donho donho self-assigned this Mar 12, 2023
@donho
Copy link
Member

donho commented Mar 12, 2023

Very interesting improvement:

Add multithreaded wrap to significantly improve performance of wrapping large files.

@rdipardo
Copy link
Contributor

https://www.scintilla.org/lexilla523.zip

It's best not to merge this until you've patched in the latest lexilla (5.2.4): https://groups.google.com/g/scintilla-interest/c/6CA58LYs3PU

There probably won't be a new Scintilla to go with it. Like I said before, "out-of-band" releases can be expected now that the lexers are a separate project.

BTW, has anyone ever thought of using submodules instead? The N++ organization can fork ScintillaOrg/lexilla, patch in LexUser and stuff, then the downstream repo only needs to check out a new commit hash from time to time.

$ git submodule update lexilla/
$ git submodule summary
* lexilla a9776965...b22cda8b (7):
  > Updates for version 5.2.4.
  > #149 Fix failure to recognize keywords containing upper case.
  > #145 146 Better handling of '%' used in string formatting.
  > #145 #146  Added $ and % highlighting for SCE_GD_NODEPATH in GDScript
  > #147 Prefer NSDM initialization where convenient
  > #147 Don't instantiate character sets at namespace level
  > Enable dead code stripping as Xcode 14 wants it set.

    Released 13 March 2023.
    C++: Fix failure to recognize keywords containing upper case. Issue notepad-plus-plus#149.
    GDScript: Support % and $ node paths. Issue notepad-plus-plus#145, Pull request notepad-plus-plus#146.
@chcg chcg changed the title update scintilla 5.3.4 and lexilla 5.2.3 with: update scintilla 5.3.4 and lexilla 5.2.4 with: Mar 13, 2023
@chcg
Copy link
Contributor Author

chcg commented Mar 13, 2023

added https://www.scintilla.org/lexilla524.zip

Released 13 March 2023.
C++: Fix failure to recognize keywords containing upper case. Issue #149.
GDScript: Support % and $ node paths. Issue #145, Pull request #146.

@donho donho added the accepted label Mar 13, 2023
@donho donho closed this in feb454a Mar 13, 2023
@chcg chcg deleted the scintilla534 branch March 13, 2023 20:13
@chcg
Copy link
Contributor Author

chcg commented Dec 28, 2024

Fixed in Lexilla version... Ref.
#4964 5.2.3 ScintillaOrg/lexilla@397dfb1
#4439, #9918 5.2.3 ScintillaOrg/lexilla@1e347a1

There was no own commit for lexilla 5.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants