Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /cocoa/ScintillaCocoa.mm [bd4ab3] .. [483668] Maximize Restore

  Switch to side-by-side view

--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -1140,6 +1140,8 @@
   if (sel.Empty())
     return;
 
+  inDragDrop = ddDragging;
+
   // Put the data to be dragged on the drag pasteboard.
   SelectionText selectedText;
   NSPasteboard* pasteboard = [NSPasteboard pasteboardWithName: NSDragPboard];
@@ -1301,7 +1303,6 @@
  */
 NSDragOperation ScintillaCocoa::DraggingEntered(id <NSDraggingInfo> info)
 {
-  inDragDrop = ddDragging;
   return DraggingUpdated(info);
 }