aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Platform.h2
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface5
3 files changed, 8 insertions, 1 deletions
diff --git a/include/Platform.h b/include/Platform.h
index afcc4f61c..099e5ee22 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -405,7 +405,7 @@ public:
return static_cast<short>(x & 0xffff);
}
static void DebugPrintf(const char *format, ...);
- static void ShowAssertionPopUps(bool assertionPopUps_);
+ static bool ShowAssertionPopUps(bool assertionPopUps_);
static void Assert(const char *c, const char *file, int line);
static int Clamp(int val, int minVal, int maxVal);
};
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 42fc2c8d0..68df0c82e 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -370,6 +370,8 @@ typedef long (*SciFnDirect)(long ptr, unsigned int iMessage, unsigned long wPara
#define SCI_GETFOCUS 2381
#define SCI_SETSTATUS 2382
#define SCI_GETSTATUS 2383
+#define SCI_SETMOUSEDOWNCAPTURES 2384
+#define SCI_GETMOUSEDOWNCAPTURES 2385
#define SCI_GRABFOCUS 2400
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 8b9073585..d8b7904a3 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1003,6 +1003,11 @@ set void SetStatus=2382(int statusCode,)
# Get error status
get int GetStatus=2383(,)
+# Set whether the mouse is captured when its button is pressed
+set void SetMouseDownCaptures=2384(bool captures,)
+# Get whether mouse gets captured
+get bool GetMouseDownCaptures=2385(,)
+
# Set the focus to this Scintilla widget.
# GTK+ Specific
fun void GrabFocus=2400(,)