From 79585e218c40f9010601e8af442b573ece40c5ea Mon Sep 17 00:00:00 2001
From: Neil Last edited 9 April 2021 NH Last edited 20 April 2021 NH Scintilla 5 has moved the lexers from Scintilla into a new
Lexilla project. SCI_STYLERESETDEFAULT SCI_SETFONTLOCALE(<unused>, const char *localeName) The selection is shown by changing the foreground and/or background colours. If one of these
@@ -4121,7 +4133,11 @@ struct Sci_TextToFind {
Scintilla Documentation
-
@@ -2970,6 +2970,9 @@ struct Sci_TextToFind {
+
+
@@ -3298,6 +3301,15 @@ struct Sci_TextToFind {
+
+ SCI_GETFONTLOCALE(<unused>, char *localeName NUL-terminated) → int
+ These messages set the locale used for font selection with language-dependent glyphs.
+ It may, depending on platform and other circumstances influence the display of text, so setting "zh-Hant" may result in traditional
+ Chinese display and "zh-Hans" may result in simplified Chinese display.
+ It is currently only implemented for Win32 using DirectWrite where the value is passed as the localeName argument to CreateTextFormat.
+ The default value is US English "en-us".
+ Caret, selection, and hotspot styles
SC_TECHNOLOGY_DIRECTWRITEDC differs from
SC_TECHNOLOGY_DIRECTWRITE by using DirectWrite to draw into a GDI DC.
Since Direct2D buffers drawing, Scintilla's buffering can be turned off with
- SCI_SETBUFFEREDDRAW(0).SCI_SETBUFFEREDDRAW(0).
+ When using DirectWrite, you can use
+
+ to set an appropriate font locale to draw text with expected language-dependent glyphs.
+
SCI_SETFONTQUALITY(int fontQuality)
SCI_GETFONTQUALITY → int
--
cgit v1.2.3