Edwin Leuven wrote:
> Peter Kümmel wrote:
>> Hope this helps a bit.
>
> not not really (wouldn't know where to get the correct cursor pos).
>
> and why does the proper cursor position get lost?
Because the cachc has been cleared:
void BufferView::updateMetrics(bool singlepar)
{
// FIXME (Abdel 19/10/2006):
// There's something fishy in tabular. The coord_cache_ is not
// correctly reconstructed when a character is trying to be inserted.
// Not clearing out the coord_cache_ fixes the crash but there is a
// bad side effect: buffer-begin and buffer-end do not update the
screen.
//
// Remove old position cache
coord_cache_.clear();