diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 628e684728..5859d57772 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -745,7 +745,7 @@ void BufferView::showCursor() else if (d->anchor_pit_ == max_pit) d->anchor_ypos_ = height_ - offset - row_dim.descent(); else - d->anchor_ypos_ = offset + pm.ascent() + height_ / 2; + d->anchor_ypos_ = defaultRowHeight() * 2 - offset - row_dim.descent(); updateMetrics(); buffer_.changed();