- fix: issue #215 (Caret may be drawn in the gutter.)
This commit is contained in:
parent
d171d7bdf5
commit
6d137b82bd
|
@ -3715,6 +3715,8 @@ void QSynEdit::paintCaret(QPainter &painter, const QRect rcClip)
|
|||
if (m_blinkStatus!=1)
|
||||
return;
|
||||
painter.setClipRect(rcClip);
|
||||
if (rcClip.left() < mGutterWidth)
|
||||
return;
|
||||
EditCaretType ct;
|
||||
if (this->mInserting) {
|
||||
ct = mInsertCaret;
|
||||
|
|
Loading…
Reference in New Issue