Bläddra i källkod

Fix for 644d85c4.

Martijn Laan 1 år sedan
förälder
incheckning
8d693f0c8a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Projects/Src/CompForm.pas

+ 1 - 1
Projects/Src/CompForm.pas

@@ -2760,7 +2760,7 @@ begin
     end;
   end
   else if (Key = VK_LEFT) and not (ssCtrl in Shift) and FOptions.CursorPastEOL then begin
-    if FActiveMemo.CaretColumn = 0 then
+    if (FActiveMemo.CaretColumn = 0) and (FActiveMemo.CaretVirtualSpace = 0) then
       Key := 0;
   end
   else if ((Key = VK_RIGHT) and (Shift * [ssShift, ssAlt, ssCtrl] = [ssAlt])) and