diff options
author | nyamatongwe <unknown> | 2000-09-22 11:17:11 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-09-22 11:17:11 +0000 |
commit | a72c43d215b4ca861c69c9f4a8d8a13b69e5d196 (patch) | |
tree | 790617f5acabf5ce8f6426731a8baaab920083a8 | |
parent | 31ce0f4f8f3e6657c3849722af440d94e59daf91 (diff) | |
download | scintilla-mirror-a72c43d215b4ca861c69c9f4a8d8a13b69e5d196.tar.gz |
Added SetFocus and GetFocus for access to the internal focus flag which
determines if the caret is displayed.
-rw-r--r-- | include/Scintilla.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 5 |
2 files changed, 7 insertions, 0 deletions
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(,) |