Stefan Schimanski wrote: > + // possibly the row metrics are outdated and the endpos() was > computed + // before the paragraph was changed (e.g. by backspace) > + end_ = std::min(par.size(), row.endpos()) - 1; > +
This solution looks OK to me for now. Jürgen