diff options
author | Zufu Liu <unknown> | 2023-02-12 11:26:48 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2023-02-12 11:26:48 +1100 |
commit | 5848ae9e694b196e24f10e830c517e0f613b80ae (patch) | |
tree | daf86b3a99c25733c884d512bace47ea12c5dd6c /src/EditView.cxx | |
parent | f2455fabf07576db6224262ce8b62a59429534e3 (diff) | |
download | scintilla-mirror-5848ae9e694b196e24f10e830c517e0f613b80ae.tar.gz |
Bug [#2378]. Fix overlapping of text with line end wrap marker.
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r-- | src/EditView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |