Back to Notepad3

Scintilla 5.5.8 Upstream Cherry-Pick Patches

scintilla/np3_patches/upstream_558/README.md

latest1.9 KB
Original Source

Scintilla 5.5.8 Upstream Cherry-Pick Patches

All beneficial changes from Scintilla 5.5.8 have been applied to NP3's 5.5.7 baseline.

✅ All Changes Applied

PatchDescriptionFiles Modified
001_undo_selection_redraw.patchFix selection drawing after undoEditor.cxx
002_listbox_opaque_colors.patchForce autocomplete colors opaqueAlready in NP3
003_listbox_bitmap_sizing.patchFix bitmap sizing (no blank bg)Already in NP3
004_unicode16_update.mdUnicode 16 character categoriesCharacterCategoryMap.cxx
005_ptrdiff_alias.mdPTRDIFF_DOESNT_ALIAS_INT optionRunStyles.cxx
006_selection_serialization_format.patchNew serialization formatSelection.cxx, Selection.h
007_rectangular_indent_fix.patchRectangular selection indentEditor.cxx

Additional Minor Updates (Also Applied)

FileChange
CallTip.cxxRemoved macOS-specific default colors
CaseConvert.cxxUnicode 16 case folding table updates
CellBuffer.cxxis_convertible_v type check + type_traits include
EditView.cxxBidi data bounds check fix
Editor.cxxSetSelectionFromSerialized uses Redraw() instead of InvalidateStyleRedraw()

[!NOTE] PositionCache.cxx/h was NOT updated - has noexcept specification changes that conflict with NP3's base class declarations.

NP3-Protected Files (Not Updated)

These files have NP3 patches and retain their customizations:

  • win32/PlatWin.cxx - 4-parameter AdjustWindowRectForDpi
  • win32/ScintillaWin.cxx - DPI exports, popup menu control
  • src/Editor.cxx - Zoom methods, strike style, drag policies (with 5.5.8 fixes merged in)

Verification

Build completed successfully with exit code 0:

Notepad3.vcxproj -> R:\GitHub\Notepad3\Bin\Release_x64_v145\Notepad3.exe