mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:39:36 +02:00
SynEdit: Prevent some scrolling, while selecting by mouse. Issue #0021996
git-svn-id: trunk@37231 -
This commit is contained in:
parent
273f846e3e
commit
df2d3225ef
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user