From 9edc5aea8c33e2f11de7597b21154bd572baee35 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 18 Oct 2009 21:05:35 +0000 Subject: AutoCGetCurrentText added by Nick Treleaven. --- include/Scintilla.h | 1 + include/Scintilla.iface | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index b9871ecb8..e9bba868c 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -652,6 +652,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETWHITESPACECHARS 2443 #define SCI_SETCHARSDEFAULT 2444 #define SCI_AUTOCGETCURRENT 2445 +#define SCI_AUTOCGETCURRENTTEXT 2610 #define SCI_ALLOCATE 2446 #define SCI_TARGETASUTF8 2447 #define SCI_SETLENGTHFORENCODE 2448 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index fd89aa3f8..647506cf4 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1724,6 +1724,10 @@ fun void SetCharsDefault=2444(,) # Get currently selected item position in the auto-completion list fun int AutoCGetCurrent=2445(,) +# Get currently selected item text in the auto-completion list +# Returns the length of the item text +fun int AutoCGetCurrentText=2610(, stringresult s) + # Enlarge the document to a particular size of text bytes. fun void Allocate=2446(int bytes,) -- cgit v1.2.3