Browse Source

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

Margers 11 months ago
parent
commit
6993702192
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ide/weditor.pas

+ 1 - 1
packages/ide/weditor.pas

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