diff options
| author | nyamatongwe <unknown> | 2009-07-04 00:22:39 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2009-07-04 00:22:39 +0000 | 
| commit | 9c54599cc939df92c94843ca39c09d1c2ac0648b (patch) | |
| tree | a4e17f640ceaad03fcec2e9fed4647605d6f547a | |
| parent | 5c649dc18f3610af94df30bfe457a8f6fabfc63a (diff) | |
| download | scintilla-mirror-9c54599cc939df92c94843ca39c09d1c2ac0648b.tar.gz | |
Made drag and drop work - return value from PositionInSelection was changed
for multiple selection.
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 11b466fef..5677da922 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2498,7 +2498,7 @@ gboolean ScintillaGTK::DragMotionThis(GdkDragContext *context,  		SetDragPosition(PositionFromLocation(npt));  		GdkDragAction preferredAction = context->suggested_action;  		int pos = PositionFromLocation(npt); -		if ((inDragDrop == ddDragging) && (0 == PositionInSelection(pos))) { +		if ((inDragDrop == ddDragging) && (PositionInSelection(pos))) {  			// Avoid dragging selection onto itself as that produces a move  			// with no real effect but which creates undo actions.  			preferredAction = static_cast<GdkDragAction>(0); | 
