Explorar o código

Fix for 644d85c4.

Martijn Laan hai 1 ano
pai
achega
8d693f0c8a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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