From c82aad1a0279ac7232477876cfba1a9570ebd3c3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 16 Jul 2012 14:06:12 +1000 Subject: Implement SCI_GETSELECTIONEMPTY API. Bug #3543121. --- include/Scintilla.h | 1 + include/Scintilla.iface | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 3cacd5310..52d6eed15 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -787,6 +787,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETADDITIONALCARETSVISIBLE 2608 #define SCI_GETADDITIONALCARETSVISIBLE 2609 #define SCI_GETSELECTIONS 2570 +#define SCI_GETSELECTIONEMPTY 2650 #define SCI_CLEARSELECTIONS 2571 #define SCI_SETSELECTION 2572 #define SCI_ADDSELECTION 2573 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 0456615e2..ef35fe6a4 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2100,6 +2100,9 @@ get bool GetAdditionalCaretsVisible=2609(,) # How many selections are there? get int GetSelections=2570(,) +# Is every selected range empty? +get bool GetSelectionEmpty=2650(,) + # Clear selections to a single empty stream selection fun void ClearSelections=2571(,) -- cgit v1.2.3