Update to scintilla 5.5.6 & Lexilla 5.4.4#16373
Update to scintilla 5.5.6 & Lexilla 5.4.4#16373chcg wants to merge 1 commit intonotepad-plus-plus:masterfrom
Conversation
Release 5.5.6 (https://www.scintilla.org/scintilla556.zip) Released 2 April 2025. Disallow changing case of protected text. Bug notepad-plus-plus#2463. Return enumeration type from MarkerSymbolDefined to match MarkerDefine. Bug notepad-plus-plus#2469. On Win32, use DirectWrite for autocompletion lists when DirectWrite chosen for document text. On Win32, optimize case-insensitive DBCS search to be around 5 times faster by using 64K memory to cache folding data for each DBCS code page used. On Win32, fix a crash with bidirectional text. When using Visual C++ through nmake, fix building for ARM64. Feature notepad-plus-plus#1546. On Qt, draw clipped UTF-8 text correctly. Bug notepad-plus-plus#2464. On Qt, avoid a dwell start when the mouse is moved outside the Scintilla widget. Bug notepad-plus-plus#2466. On Qt, autoCompleteSelection converts from local encoding when not in Unicode mode. Bug notepad-plus-plus#2465. Release 5.4.4 (https://www.scintilla.org/lexilla544.zip) Released 2 April 2025. Fix building for ARM64. Pull request notepad-plus-plus#308.
|
@chcg |
|
STR Ok (with previous Scintilla 5.5.5}: npp-CRLF-UTF8-Sci555-ok.mp4Bug (Notepad++.exe binary from this commit): npp-CRLF-UTF8-Sci556-bug.mp4I quickly looked at the post v5.5.5 Scintilla commits: http://hg.code.sf.net/p/scintilla/code where I see some candidate commits but do not have time to try every code change from there, sorry. |
|
Checked with Scite 5.5.6. There it seems that this behaviour could not be observed. So likely this is a N++ specific issue. |
|
It's these changes. However, the call to |
wscite556-UTF-CRLF-bug.mp4 |
|
Scintilla fix committed https://sourceforge.net/p/scintilla/code/ci/0364bca4f6d3cb1e1aaffa3baae6a0dfe4b026f2/. |
|
@nyamatongwe |
Release 5.5.7 (https://www.scintilla.org/scintilla557.zip) Released 8 June 2025. Add SCI_SCROLLVERTICAL method to restore view position and maintain it while performing line wrapping. Add SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY which controls whether undo and redo restore vertical scroll position. Tweak SC_MARK_BAR to be slightly wider by using next higher whole pixel instead of next lower for margin width / 3. Scale images in autocompletion lists with SCI_AUTOCSETIMAGESCALE to match high DPI screens. Initially only on GTK and Qt. Fix wrapping bug for UTF-8 where \r\n could wrap between the characters. Notepad++ Pull Request notepad-plus-plus#16373. Fix crash during painting when scroll bars changed. Bug notepad-plus-plus#2481. On GTK, reset vertical scroll bar synchronously in SCI_SETDOCPOINTER to fix bug where scroll position not restored in non-wrap mode. Bug notepad-plus-plus#2416. On GTK, fix IME problem when tentative composition interfered with delete surrounding. Feature notepad-plus-plus#1476. On GTK, update IME cursor position inside retrieve surrounding to better position candidate window. Feature notepad-plus-plus#1488. Release 5.4.5 (https://www.scintilla.org/lexilla545.zip) Released 8 June 2025. Dart: Add error state SCE_DART_STRINGEOL for unterminated string. Pull request notepad-plus-plus#315. Makefile: Add a keyword list to makefile lexer to highlight GNU Make directives like 'ifdef' and 'vpath' as SCE_MAKE_PREPROCESSOR since these are similar to NMAKE directives like '!IFDEF'. Nix: Add error state SCE_NIX_STRINGEOL for unterminated string. Pull request notepad-plus-plus#315. TOML: Add error state SCE_TOML_STRINGEOL for unterminated string. Pull request notepad-plus-plus#315. Zig: Add error state SCE_ZIG_STRINGEOL for unterminated string. Pull request notepad-plus-plus#315.
Release 5.5.7 (https://www.scintilla.org/scintilla557.zip) Released 8 June 2025. Add SCI_SCROLLVERTICAL method to restore view position and maintain it while performing line wrapping. Add SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY which controls whether undo and redo restore vertical scroll position. Tweak SC_MARK_BAR to be slightly wider by using next higher whole pixel instead of next lower for margin width / 3. Scale images in autocompletion lists with SCI_AUTOCSETIMAGESCALE to match high DPI screens. Initially only on GTK and Qt. Fix wrapping bug for UTF-8 where \r\n could wrap between the characters. Notepad++ Pull Request notepad-plus-plus#16373. Fix crash during painting when scroll bars changed. Bug notepad-plus-plus#2481. On GTK, reset vertical scroll bar synchronously in SCI_SETDOCPOINTER to fix bug where scroll position not restored in non-wrap mode. Bug notepad-plus-plus#2416. On GTK, fix IME problem when tentative composition interfered with delete surrounding. Feature notepad-plus-plus#1476. On GTK, update IME cursor position inside retrieve surrounding to better position candidate window. Feature notepad-plus-plus#1488. Release 5.4.5 (https://www.scintilla.org/lexilla545.zip) Released 8 June 2025. Dart: Add error state SCE_DART_STRINGEOL for unterminated string. Pull request notepad-plus-plus#315. Makefile: Add a keyword list to makefile lexer to highlight GNU Make directives like 'ifdef' and 'vpath' as SCE_MAKE_PREPROCESSOR since these are similar to NMAKE directives like '!IFDEF'. Nix: Add error state SCE_NIX_STRINGEOL for unterminated string. Pull request notepad-plus-plus#315. TOML: Add error state SCE_TOML_STRINGEOL for unterminated string. Pull request notepad-plus-plus#315. Zig: Add error state SCE_ZIG_STRINGEOL for unterminated string. Pull request notepad-plus-plus#315.
Release 5.5.7 (https://www.scintilla.org/scintilla557.zip) Released 8 June 2025 1. Add SCI_SCROLLVERTICAL method to restore view position and maintain it while performing line wrapping. 2. Add SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY which controls whether undo and redo restore vertical scroll position. 3. Tweak SC_MARK_BAR to be slightly wider by using next higher whole pixel instead of next lower for margin width / 3. 4. Scale images in autocompletion lists with SCI_AUTOCSETIMAGESCALE to match high DPI screens. Initially only on GTK and Qt. 5. Fix wrapping bug for UTF-8 where \r\n could wrap between the characters. Notepad++ Pull Request #16373. 6. Fix crash during painting when scroll bars changed. Bug #2481. 7. On GTK, reset vertical scroll bar synchronously in SCI_SETDOCPOINTER to fix bug where scroll position not restored in non-wrap mode. Bug #2416. 8. On GTK, fix IME problem when tentative composition interfered with delete surrounding. Feature #1476. 9. On GTK, update IME cursor position inside retrieve surrounding to better position candidate window. Feature #1488. Release 5.4.5 (https://www.scintilla.org/lexilla545.zip) Released 8 June 2025 1. Dart: Add error state SCE_DART_STRINGEOL for unterminated string. Pull request #315. 2. Makefile: Add a keyword list to makefile lexer to highlight GNU Make directives like 'ifdef' and 'vpath' as SCE_MAKE_PREPROCESSOR since these are similar to NMAKE directives like '!IFDEF'. 3. Nix: Add error state SCE_NIX_STRINGEOL for unterminated string. Pull request #315. 4. TOML: Add error state SCE_TOML_STRINGEOL for unterminated string. Pull request #315. 5. Zig: Add error state SCE_ZIG_STRINGEOL for unterminated string. Pull request #315. Close #16649
Release 5.5.6 (https://www.scintilla.org/scintilla556.zip)
Release 5.4.4 (https://www.scintilla.org/lexilla544.zip)