if (cmd.action == LFUN_SCREEN_DOWN && scrolled < height_)
p = Point(width_, height_);
Cursor old = cur;
+ bool const in_texted = cur.inTexted();
cur.reset(buffer_.inset());
updateMetrics();
buffer_.changed();
d->text_metrics_[&buffer_.text()].editXY(cur, p.x_, p.y_);
//FIXME: what to do with cur.x_target()?
- bool const update = cur.bv().checkDepm(cur, old);
+ bool update = in_texted && cur.bv().checkDepm(cur, old);
cur.finishUndo();
if (update)
processUpdateFlags(Update::Force | Update::FitCursor);