mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-28 06:43:44 +02:00
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:
parent
3efdc51977
commit
46f288366e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user