From a72c43d215b4ca861c69c9f4a8d8a13b69e5d196 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 22 Sep 2000 11:17:11 +0000 Subject: Added SetFocus and GetFocus for access to the internal focus flag which determines if the caret is displayed. --- include/Scintilla.h | 2 ++ include/Scintilla.iface | 5 +++++ 2 files changed, 7 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index a6247c3f6..f707ed399 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -366,6 +366,8 @@ typedef long (*SciFnDirect)(long ptr, unsigned int iMessage, unsigned long wPara #define SCI_ADDREFDOCUMENT 2376 #define SCI_RELEASEDOCUMENT 2377 #define SCI_GETMODEVENTMASK 2378 +#define SCI_SETFOCUS 2380 +#define SCI_GETFOCUS 2381 #define SCI_GRABFOCUS 2400 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 6b511ee1c..50cfa83c5 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -993,6 +993,11 @@ fun void ReleaseDocument=2377(, int doc) # Get which document modification events are sent to the container. get int GetModEventMask=2378(,) +# Change internal focus flag +set void SetFocus=2380(bool focus,) +# Get internal focus flag +get bool GetFocus=2381(,) + # Set the focus to this Scintilla widget. # GTK+ Specific fun void GrabFocus=2400(,) -- cgit v1.2.3