chore(scintilla): apply remaining 5.5.8 change to SetSelectionFromSerialized

Changed InvalidateStyleRedraw() to Redraw() in SetSelectionFromSerialized
to match Scintilla 5.5.8 upstream.

Note: ListBox.cxx was already at 5.5.8 parity (opaque colors, ItemHeight bitmap).
This commit is contained in:
Derick Payne 2026-01-18 02:21:30 +02:00
parent 87ca61243e
commit f2bfef672d
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ All beneficial changes from Scintilla 5.5.8 have been applied to NP3's 5.5.7 bas
| `CaseConvert.cxx` | Unicode 16 case folding table updates |
| `CellBuffer.cxx` | `is_convertible_v` type check + `type_traits` include |
| `EditView.cxx` | Bidi data bounds check fix |
| `Editor.cxx` | `SetSelectionFromSerialized` uses `Redraw()` instead of `InvalidateStyleRedraw()` |
> [!NOTE]
> `PositionCache.cxx/h` was NOT updated - has `noexcept` specification changes

View File

@ -718,7 +718,7 @@ void Editor::SetSelectionFromSerialized(const char *serialized) {
sel = Selection(serialized);
sel.Truncate(pdoc->Length());
SetRectangularRange();
InvalidateStyleRedraw();
Redraw(); // Scintilla 5.5.8: Changed from InvalidateStyleRedraw()
}
}