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 @@

Scintilla Documentation

-

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_STYLESETHOTSPOT(int style, bool hotspot)
SCI_STYLEGETHOTSPOT(int style) → bool
+ SCI_SETFONTLOCALE(<unused>, const char + *fontName)
+ SCI_GETFONTLOCALE(<unused>, char *fontName) → int

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". +

+

Caret, selection, and hotspot styles

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 @@ @@ -42,7 +42,7 @@ containing very few restrictions.

- Release 5.0.1 + Release 5.0.2

Source Code @@ -50,8 +50,8 @@ The source code package contains all of the source code for Scintilla but no binary executable code and is available in Instructions for building on both Windows and Linux are included in the readme file.

diff --git a/scintilla/doc/ScintillaHistory.html b/scintilla/doc/ScintillaHistory.html index 24b2ead5a..e98a7c30f 100644 --- a/scintilla/doc/ScintillaHistory.html +++ b/scintilla/doc/ScintillaHistory.html @@ -571,6 +571,27 @@

Releases

+

+ Release 5.0.2 +

+

Release 5.0.1

diff --git a/scintilla/doc/index.html b/scintilla/doc/index.html index 9d1234bf0..7bcc4d843 100644 --- a/scintilla/doc/index.html +++ b/scintilla/doc/index.html @@ -9,7 +9,7 @@ - +
- + Windows   - + GTK/Linux