- fix: Selected lines doesn't draw line break glyphs.

This commit is contained in:
Roy Qu 2024-02-29 19:33:53 +08:00
parent 30ed2fac79
commit d171d7bdf5
2 changed files with 1 additions and 2 deletions

View File

@ -21,6 +21,7 @@ Red Panda C++ Version 2.27
- fix: Can't show function tips for std::ios::sync_with_stdio. - fix: Can't show function tips for std::ios::sync_with_stdio.
- fix: Wrong indent for the line after the pasted context. - 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. - 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 Red Panda C++ Version 2.26
- enhancement: Code suggestion for embedded std::vectors. - enhancement: Code suggestion for embedded std::vectors.

View File

@ -1137,8 +1137,6 @@ void QSynEditPainter::paintLines()
} else { } else {
// Draw LineBreak glyph. // Draw LineBreak glyph.
if (mEdit->mOptions.testFlag(eoShowLineBreaks) if (mEdit->mOptions.testFlag(eoShowLineBreaks)
&& (!mIsLineSelected)
&& (!mIsSpecialLine)
&& (mEdit->mDocument->lineWidth(vLine-1) < mRight)) { && (mEdit->mDocument->lineWidth(vLine-1) < mRight)) {
addOnStr = LineBreakGlyph; addOnStr = LineBreakGlyph;
attr = mEdit->mSyntaxer->whitespaceAttribute(); attr = mEdit->mSyntaxer->whitespaceAttribute();