From 693e547da376d8790fbdcdf228c9d57810ec9f46 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 9 Mar 2005 03:34:46 +0000 Subject: Patch from Blair McGlashan to send a notification before accepting an autocompletion. --- include/Scintilla.h | 3 ++- include/Scintilla.iface | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index d02ea54b8..cd1dbd77f 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -658,6 +658,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCN_HOTSPOTCLICK 2019 #define SCN_HOTSPOTDOUBLECLICK 2020 #define SCN_CALLTIPCLICK 2021 +#define SCN_AUTOCSELECTION 2022 //--Autogenerated -- end of section automatically generated from Scintilla.iface // These structures are defined to be exactly the same shape as the Win32 @@ -710,7 +711,7 @@ struct SCNotification { int ch; // SCN_CHARADDED, SCN_KEY int modifiers; // SCN_KEY int modificationType; // SCN_MODIFIED - const char *text; // SCN_MODIFIED + const char *text; // SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION int length; // SCN_MODIFIED int linesAdded; // SCN_MODIFIED int message; // SCN_MACRORECORD diff --git a/include/Scintilla.iface b/include/Scintilla.iface index bf4af856f..5436fced4 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2633,6 +2633,7 @@ evt void Zoom=2018(void) evt void HotSpotClick=2019(int modifiers, int position) evt void HotSpotDoubleClick=2020(int modifiers, int position) evt void CallTipClick=2021(int position) +evt void AutoCSelection=2022(string text) cat Deprecated -- cgit v1.2.3