From 5848ae9e694b196e24f10e830c517e0f613b80ae Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sun, 12 Feb 2023 11:26:48 +1100 Subject: Bug [#2378]. Fix overlapping of text with line end wrap marker. --- src/EditView.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/EditView.cxx') diff --git a/src/EditView.cxx b/src/EditView.cxx index cc7b5dcf5..3ba1ee4e5 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -599,7 +599,7 @@ void EditView::LayoutLine(const EditModel &model, Surface *surface, const ViewSt // Check for wrapIndent minimum if ((FlagSet(vstyle.wrap.visualFlags, WrapVisualFlag::Start)) && (ll->wrapIndent < vstyle.aveCharWidth)) ll->wrapIndent = vstyle.aveCharWidth; // Indent to show start visual - ll->WrapLine(model.pdoc, posLineStart, vstyle.wrap.state); + ll->WrapLine(model.pdoc, posLineStart, vstyle.wrap.state, width); } ll->validity = LineLayout::ValidLevel::lines; } -- cgit v1.2.3