diff --git a/components/synedit/synedit.pp b/components/synedit/synedit.pp index 32f6e2bbc0..a71fda0363 100644 --- a/components/synedit/synedit.pp +++ b/components/synedit/synedit.pp @@ -5824,7 +5824,8 @@ begin // try to make the current selection visible as well MinX:=PhysCaretXY.X; MaxX:=PhysCaretXY.X; - if SelAvail then begin + // sfMouseSelecting: ignore block while selecting by mouse + if SelAvail and not(sfMouseSelecting in fStateFlags) then begin PhysBlockBeginXY:=LogicalToPhysicalPos(BlockBegin); PhysBlockEndXY:=LogicalToPhysicalPos(BlockEnd); if (PhysBlockBeginXY.X<>PhysBlockEndXY.X)