Select text in code editor by mouse when Persistent Blocks not enabled.

This commit is contained in:
Margers 2024-09-01 19:51:37 +00:00 committed by Michael Van Canneyt
parent 975ee9d9f0
commit 6993702192

View File

@ -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;