diff options
author | nyamatongwe <devnull@localhost> | 2001-10-13 21:53:18 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-10-13 21:53:18 +0000 |
commit | 7f9c088f5457d11062659fe66a165e90e31b00f7 (patch) | |
tree | 72d51919b07ee319c7b6333b34448ab31ed2c1db | |
parent | ddb2fad7b7e66a653592a5844d06e32b2b7dd939 (diff) | |
download | scintilla-mirror-7f9c088f5457d11062659fe66a165e90e31b00f7.tar.gz |
Deprecated SCN_CHECKBRACE and SCN_POSCHANGED.
-rw-r--r-- | include/Scintilla.h | 5 | ||||
-rw-r--r-- | include/Scintilla.iface | 8 | ||||
-rw-r--r-- | src/Editor.cxx | 1 |
3 files changed, 8 insertions, 6 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 9c634f90f..e49bd959e 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -496,12 +496,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCN_KEY 2005 #define SCN_DOUBLECLICK 2006 #define SCN_UPDATEUI 2007 -#define SCN_CHECKBRACE 2007 #define SCN_MODIFIED 2008 #define SCN_MACRORECORD 2009 #define SCN_MARGINCLICK 2010 #define SCN_NEEDSHOWN 2011 -#define SCN_POSCHANGED 2012 #define SCN_PAINTED 2013 #define SCN_USERLISTSELECTION 2014 #define SCN_URIDROPPED 2015 @@ -583,6 +581,9 @@ struct SCNotification { #ifdef INCLUDE_DEPRECATED_FEATURES +#define SCN_POSCHANGED 2012 +#define SCN_CHECKBRACE 2007 + #endif #endif diff --git a/include/Scintilla.iface b/include/Scintilla.iface index affaaca1c..30e3da0b3 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1610,14 +1610,10 @@ evt void ModifyAttemptRO=2004(void) evt void Key=2005(int ch, int modifiers) evt void DoubleClick=2006(void) evt void UpdateUI=2007(void) -# The old name for SCN_UPDATEUI -val SCN_CHECKBRACE=2007 evt void Modified=2008(int position, int modificationType, string text, int length, int linesAdded, int line, int foldLevelNow, int foldLevelPrev) -# Optional module for macro recording evt void MacroRecord=2009(int message, int wParam, int lParam) evt void MarginClick=2010(int modifiers, int position, int margin) evt void NeedShown=2011(int position, int length) -evt void PosChanged=2012(int position) evt void Painted=2013(void) evt void UserListSelection=2014(int listType, string text) evt void URIDropped=2015(string text) @@ -1625,3 +1621,7 @@ evt void DwellStart=2016(int position) evt void DwellEnd=2017(int position) cat Deprecated + +# The old name for SCN_UPDATEUI +val SCN_CHECKBRACE=2007 +evt void PosChanged=2012(int position) diff --git a/src/Editor.cxx b/src/Editor.cxx index 0730bc280..2898d9665 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -12,6 +12,7 @@ #include "Platform.h" +#define INCLUDE_DEPRECATED_FEATURES #include "Scintilla.h" #include "ContractionState.h" |