diff options
author | Neil <nyamatongwe@gmail.com> | 2021-04-20 10:57:59 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-04-20 10:57:59 +1000 |
commit | 79585e218c40f9010601e8af442b573ece40c5ea (patch) | |
tree | d64cab27d7ee75ef5a2a2e567dbe9c8ebd3823e9 /include | |
parent | ed434975e5de00e91718b075f04492f69c1bb04a (diff) | |
download | scintilla-mirror-79585e218c40f9010601e8af442b573ece40c5ea.tar.gz |
Bug [#2027]. Implement font locale SCI_SETFONTLOCALE on Win32 using DirectWrite.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 1ea5d3fa1..ca512ab71 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -103,6 +103,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_GETNEXTTABSTOP 2677 #define SC_CP_UTF8 65001 #define SCI_SETCODEPAGE 2037 +#define SCI_SETFONTLOCALE 2760 +#define SCI_GETFONTLOCALE 2761 #define SC_IME_WINDOWED 0 #define SC_IME_INLINE 1 #define SCI_GETIMEINTERACTION 2678 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 8cce965cc..946ba1ec8 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -282,6 +282,12 @@ val SC_CP_UTF8=65001 # The SC_CP_UTF8 value can be used to enter Unicode mode. set void SetCodePage=2037(int codePage,) +# Set the locale for displaying text. +set void SetFontLocale=2760(, string localeName) + +# Set the locale for displaying text. +set void GetFontLocale=2761(, stringresult localeName) + enu IMEInteraction=SC_IME_ val SC_IME_WINDOWED=0 val SC_IME_INLINE=1 |