if (pm.rows().empty())
return 0;
- int max_width = tm.maxWidth();
-
pos_type ppos = sl.pos();
// Correct position in front of big insets
bool const boundary_correction = ppos != 0 && boundary;
pos_type cursor_vpos = 0;
Buffer const & buffer = *bv.buffer();
- int const right_margin = tm.rightMargin(pm);
RowMetrics const m = tm.computeRowMetrics(pit, row);
double x = m.x;
BOOST_ASSERT(row < int(pm.rows().size()));
bool bound = false;
Row const & r = pm.rows()[row];
- Buffer const & buffer = *bv.buffer();
return r.pos() + getColumnNearX(bv, tm.rightMargin(pm), pit, r, x, bound);
}
bool bound = false;
int xx = x;
- Buffer const & buffer = cur.buffer();
int right_margin = tm.rightMargin(pm);
pos_type const pos = row.pos() + getColumnNearX(cur.bv(), right_margin,
pit, row, xx, bound);