aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-07-16 14:06:12 +1000
committernyamatongwe <unknown>2012-07-16 14:06:12 +1000
commitc82aad1a0279ac7232477876cfba1a9570ebd3c3 (patch)
tree72f456c5edd22f9d57c43cb6e6e3315c23ccd31c /include
parentaeb8bd02a2b3f421be9269ce55ed230fda1f9f48 (diff)
downloadscintilla-mirror-c82aad1a0279ac7232477876cfba1a9570ebd3c3.tar.gz
Implement SCI_GETSELECTIONEMPTY API. Bug #3543121.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface3
2 files changed, 4 insertions, 0 deletions
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(,)