SynEdit: Drag-Selection copy/move - Allow line/column selections Issue #0037431 -- Prevent applying fold info, in case of smColumn

git-svn-id: trunk@63759 -
This commit is contained in:
martin 2020-08-16 15:57:17 +00:00
parent 3efdc51977
commit 46f288366e

View File

@ -6493,7 +6493,7 @@ begin
SetTextBetweenPoints(NewCaret, NewCaret, DragDropText, [setMoveBlock], scamEnd, smaMoveUp, sm)
else
SetTextBetweenPoints(NewCaret, NewCaret, DragDropText, [setSelect], scamEnd, smaMoveUp, sm);
if FoldInfo <> '' then begin
if (FoldInfo <> '') and (sm <> smColumn) then begin
ScanRanges;
FFoldedLinesView.ApplyFoldDescription(NewCaret.Y -1, NewCaret.X,
FBlockSelection.EndLinePos-1, FBlockSelection.EndBytePos,