- fix: Selected lines doesn't draw line break glyphs.
This commit is contained in:
parent
30ed2fac79
commit
d171d7bdf5
1
NEWS.md
1
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: 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.
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue