aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 0cd2d2111..a3b46bf5e 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -12,7 +12,9 @@
#include "Platform.h"
+#ifndef PLAT_QT
#define INCLUDE_DEPRECATED_FEATURES
+#endif
#include "Scintilla.h"
#include "ContractionState.h"
@@ -2786,9 +2788,11 @@ void Editor::NotifySavePoint(bool isSavePoint) {
}
void Editor::NotifyModifyAttempt() {
+#ifdef INCLUDE_DEPRECATED_FEATURES
SCNotification scn;
scn.nmhdr.code = SCN_MODIFYATTEMPTRO;
NotifyParent(scn);
+#endif
}
void Editor::NotifyDoubleClick(Point, bool) {
@@ -5473,10 +5477,12 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_SEARCHPREV:
return SearchText(iMessage, wParam, lParam);
+#ifdef INCLUDE_DEPRECATED_FEATURES
case SCI_SETCARETPOLICY: // Deprecated
caretXPolicy = caretYPolicy = wParam;
caretXSlop = caretYSlop = lParam;
break;
+#endif
case SCI_SETXCARETPOLICY:
caretXPolicy = wParam;