diff --git a/NEWS.md b/NEWS.md index 8d9e2857..246c6db3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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. diff --git a/libs/qsynedit/qsynedit/painter.cpp b/libs/qsynedit/qsynedit/painter.cpp index 9dbaa9d7..6deb0492 100644 --- a/libs/qsynedit/qsynedit/painter.cpp +++ b/libs/qsynedit/qsynedit/painter.cpp @@ -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();