diff options
| author | nyamatongwe <devnull@localhost> | 2000-09-22 11:17:11 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-09-22 11:17:11 +0000 |
| commit | 2399b9f209b208a56dd844f31c911a4e049885f8 (patch) | |
| tree | 790617f5acabf5ce8f6426731a8baaab920083a8 | |
| parent | 66b17b2072fcd5830a64b83766e7f197d29d0551 (diff) | |
| download | scintilla-mirror-2399b9f209b208a56dd844f31c911a4e049885f8.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(,) |
