mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 20:40:20 +02:00
Select text in code editor by mouse when Persistent Blocks not enabled.
This commit is contained in:
parent
975ee9d9f0
commit
6993702192
@ -3468,10 +3468,10 @@ begin
|
||||
SetCurPtr(P.X,P.Y);
|
||||
repeat
|
||||
GetMousePos(P);
|
||||
SetCurPtr(P.X,P.Y);
|
||||
if PointOfs(P)<PointOfs(StartP)
|
||||
then SetSelection(P,StartP)
|
||||
else SetSelection(StartP,P);
|
||||
SetCurPtr(P.X,P.Y);
|
||||
DrawView;
|
||||
until not MouseEvent(Event, evMouseMove+evMouseAuto);
|
||||
DrawView;
|
||||
|
Loading…
Reference in New Issue
Block a user