aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 63ed979d9..208a075aa 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7199,6 +7199,16 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_GETELEMENTALLOWSTRANSLUCENT:
return vs.ElementAllowsTranslucent(static_cast<int>(wParam));
+ case SCI_SETFONTLOCALE:
+ if (lParam) {
+ vs.SetFontLocaleName(CharPtrFromSPtr(lParam));
+ InvalidateStyleRedraw();
+ }
+ break;
+
+ case SCI_GETFONTLOCALE:
+ return StringResult(lParam, vs.localeName.c_str());
+
#ifdef INCLUDE_DEPRECATED_FEATURES
case SCI_SETSTYLEBITS:
vs.EnsureStyle(0xff);