|
From: Flávio E. <et...@us...> - 2004-08-06 02:34:13
|
Update of /cvsroot/synedit/SynEdit/Source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6243/Source Modified Files: SynEdit.pas Log Message: Small fix in the detection of selection when starting drag'n'drop. Index: SynEdit.pas =================================================================== RCS file: /cvsroot/synedit/SynEdit/Source/SynEdit.pas,v retrieving revision 1.381 retrieving revision 1.382 diff -u -d -r1.381 -r1.382 --- SynEdit.pas 2 Aug 2004 06:30:50 -0000 1.381 +++ SynEdit.pas 6 Aug 2004 02:33:51 -0000 1.382 @@ -2177,7 +2177,7 @@ //if mousedown occurred in selected block begin drag operation Exclude(fStateFlags, sfWaitForDragging); if bWasSel and (eoDragDropEditing in fOptions) and (X >= fGutterWidth + 2) - and (SelectionMode = smNormal) and IsPointInSelection(CaretXY) then + and (SelectionMode = smNormal) and IsPointInSelection(DisplayToBufferPos(PixelsToRowColumn(X, Y))) then begin bStartDrag := True end; |