SynEdit: WrappedView, Caret, fixed leftmost position with indent

This commit is contained in:
Martin 2025-02-16 22:52:43 +01:00
parent 3bf2791292
commit 649f6ccbc8

View File

@ -2073,10 +2073,10 @@ begin
case CaretWrapPos of case CaretWrapPos of
wcpEOL: begin wcpEOL: begin
AFirstViewedX := 2; AFirstViewedX := 2 + WrapInd;
end; end;
wcpBOL: begin wcpBOL: begin
AFirstViewedX := 1; AFirstViewedX := 1 + WrapInd;
end; end;
end; end;