From 9abb155c85cd4bf2d7c74552c930a223deadcb73 Mon Sep 17 00:00:00 2001 From: Derick Payne Date: Sun, 18 Jan 2026 02:55:02 +0200 Subject: [PATCH] feat(scintilla): add FontStyle enum for Oblique font support Adds FontStyle enum matching DWRITE_FONT_STYLE values: - Normal (0) - Oblique (1) - Italic (2) This provides explicit API support for oblique fonts like 'Iosevka Oblique'. --- scintilla/include/ScintillaTypes.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scintilla/include/ScintillaTypes.h b/scintilla/include/ScintillaTypes.h index 92a7a669b..3734b8e07 100644 --- a/scintilla/include/ScintillaTypes.h +++ b/scintilla/include/ScintillaTypes.h @@ -188,6 +188,16 @@ enum class FontStretch { UltraExpanded = 9, }; +// >>>>>>>>>>>>>>> BEG NON STD SCI PATCH >>>>>>>>>>>>>>> +// FontStyle enum to support Oblique fonts (e.g., "Iosevka Oblique") +// Values match DWRITE_FONT_STYLE +enum class FontStyle { + Normal = 0, + Oblique = 1, + Italic = 2, +}; +// <<<<<<<<<<<<<<< END NON STD SCI PATCH <<<<<<<<<<<<<<< + enum class Element { List = 0, ListBack = 1,