diff --git a/src/ce_synmemo.pas b/src/ce_synmemo.pas index 5c370e35..08f2409b 100644 --- a/src/ce_synmemo.pas +++ b/src/ce_synmemo.pas @@ -2448,7 +2448,7 @@ const begin s := LineText; p := PhysicalToLogicalPos(CaretXY); - if (p.x = 1) and not right then + if (p.x <= 1) and not right then begin ExecuteCommand(ecLeft, #0, nil); exit;