diff options
author | nyamatongwe <unknown> | 2002-10-24 12:25:33 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-10-24 12:25:33 +0000 |
commit | 880567da09a29a0e7dfc0bef84e7787bdba634fd (patch) | |
tree | 67f39078cf9839989915f3ee27f24a385811f0c1 /src | |
parent | e028727ad938a3f0329f7f99d7fea68bbd508070 (diff) | |
download | scintilla-mirror-880567da09a29a0e7dfc0bef84e7787bdba634fd.tar.gz |
Deprecated features protected by #ifdef.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 6 |
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; |