aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 17749d799..458d34ccf 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7212,6 +7212,9 @@ 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_GETELEMENTBASECOLOUR:
+ return vs.elementBaseColours[static_cast<int>(wParam)].value_or(ColourAlpha()).AsInteger();
+
case SCI_SETFONTLOCALE:
if (lParam) {
vs.SetFontLocaleName(CharPtrFromSPtr(lParam));