diff --git a/scintilla/doc/ScintillaDoc.html b/scintilla/doc/ScintillaDoc.html index f3b26b88f..0443c7a24 100644 --- a/scintilla/doc/ScintillaDoc.html +++ b/scintilla/doc/ScintillaDoc.html @@ -120,7 +120,7 @@
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.
@@ -2970,6 +2970,9 @@ struct Sci_TextToFind {
+
+
SCI_STYLERESETDEFAULT
@@ -3298,6 +3301,15 @@ struct Sci_TextToFind {
+
SCI_SETFONTLOCALE(<unused>, const char *localeName)
+ 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".
+
The selection is shown by changing the foreground and/or background colours. If one of these
@@ -4121,7 +4133,11 @@ struct Sci_TextToFind {
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
+ SCI_SETFONTLOCALE
+ to set an appropriate font locale to draw text with expected language-dependent glyphs.
+
SCI_SETFONTQUALITY(int fontQuality)
SCI_GETFONTQUALITY → int
diff --git a/scintilla/doc/ScintillaDownload.html b/scintilla/doc/ScintillaDownload.html
index 1739d3dd2..052d3964c 100644
--- a/scintilla/doc/ScintillaDownload.html
+++ b/scintilla/doc/ScintillaDownload.html
@@ -26,9 +26,9 @@
| - + Windows - + GTK/Linux | @@ -42,7 +42,7 @@ containing very few restrictions.