Browse Source

Mark beginning of selected text

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

+ 1 - 1
packages/ide/weditor.pas

@@ -5202,7 +5202,7 @@ begin
   if ValidBlock=false then
   if ValidBlock=false then
     begin
     begin
 {      SetSelection(SelStart,Limit);}
 {      SetSelection(SelStart,Limit);}
-      P1:=CurPos; P1.X:=0; P2:=CurPos; {P2.X:=length(GetLineText(P2.Y))+1;}
+      P1:=CurPos; P2:=CurPos; {P2.X:=length(GetLineText(P2.Y))+1;}
       SetSelection(P1,P2);
       SetSelection(P1,P2);
     end
     end
   else
   else