Skip to content

Commit

Permalink
- fix: Selected lines doesn't draw line break glyphs.
Browse files Browse the repository at this point in the history
  • Loading branch information
royqh1979 committed Feb 29, 2024
1 parent 30ed2fa commit d171d7b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Red Panda C++ Version 2.27
- fix: Can't show function tips for std::ios::sync_with_stdio.
- fix: Wrong indent for the line after the pasted context.
- Enhancement: When '{' is inputted and there are contents selected, auto add line breaks and indents.
- fix: Selected lines doesn't draw line break glyphs.

Red Panda C++ Version 2.26
- enhancement: Code suggestion for embedded std::vectors.
Expand Down
2 changes: 0 additions & 2 deletions libs/qsynedit/qsynedit/painter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1137,8 +1137,6 @@ void QSynEditPainter::paintLines()
} else {
// Draw LineBreak glyph.
if (mEdit->mOptions.testFlag(eoShowLineBreaks)
&& (!mIsLineSelected)
&& (!mIsSpecialLine)
&& (mEdit->mDocument->lineWidth(vLine-1) < mRight)) {
addOnStr = LineBreakGlyph;
attr = mEdit->mSyntaxer->whitespaceAttribute();
Expand Down

0 comments on commit d171d7b

Please sign in to comment.