aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx3
-rw-r--r--src/ScintillaBase.cxx2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 93a157061..05796c7bf 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -6971,12 +6971,15 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
vs.ResetDefaultStyle();
InvalidateStyleRedraw();
break;
+
+#ifdef INCLUDE_DEPRECATED_FEATURES
case SCI_SETSTYLEBITS:
vs.EnsureStyle(0xff);
break;
case SCI_GETSTYLEBITS:
return 8;
+#endif
case SCI_SETLINESTATE:
return pdoc->SetLineState(static_cast<int>(wParam), static_cast<int>(lParam));
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx
index c0166c41b..378baad73 100644
--- a/src/ScintillaBase.cxx
+++ b/src/ScintillaBase.cxx
@@ -1092,8 +1092,10 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara
return reinterpret_cast<sptr_t>(
DocumentLexState()->PrivateCall(static_cast<int>(wParam), reinterpret_cast<void *>(lParam)));
+#ifdef INCLUDE_DEPRECATED_FEATURES
case SCI_GETSTYLEBITSNEEDED:
return 8;
+#endif
case SCI_PROPERTYNAMES:
return StringResult(lParam, DocumentLexState()->PropertyNames());