aboutsummaryrefslogtreecommitdiffhomepage
path: root/call
diff options
context:
space:
mode:
authorNathaniel Braun <unknown>2026-01-08 08:22:01 +1100
committerNathaniel Braun <unknown>2026-01-08 08:22:01 +1100
commit56c071e2734e3812c7c77b611637cbc2698eb7d3 (patch)
tree5da57f71c12bef0a8bd2706a0d8773cb5442ddfe /call
parent0627663abd14c81cafde85ce9cc0502d9bc3a6c3 (diff)
downloadscintilla-mirror-56c071e2734e3812c7c77b611637cbc2698eb7d3.tar.gz
Feature [feature-requests:#184]. Add option to disable drag/drop editing
SCI_SETDRAGDROPENABLED. Fully implemented on Win32 but may only prevent dragging on other platforms.
Diffstat (limited to 'call')
-rw-r--r--call/ScintillaCall.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/call/ScintillaCall.cxx b/call/ScintillaCall.cxx
index d1d4012b2..093cf9a0d 100644
--- a/call/ScintillaCall.cxx
+++ b/call/ScintillaCall.cxx
@@ -3391,6 +3391,14 @@ Position ScintillaCall::IndexPositionFromLine(Line line, Scintilla::LineCharacte
return Call(Message::IndexPositionFromLine, line, static_cast<intptr_t>(lineCharacterIndex));
}
+bool ScintillaCall::DragDropEnabled() {
+ return Call(Message::GetDragDropEnabled);
+}
+
+void ScintillaCall::SetDragDropEnabled(bool dragDropEnabled) {
+ Call(Message::SetDragDropEnabled, dragDropEnabled);
+}
+
void ScintillaCall::StartRecord() {
Call(Message::StartRecord);
}