Add cell number to current state in devel mode

This value is added when inside a texted inset with several cells
(aka a tabular inset).
This commit is contained in:
Jean-Marc Lasgouttes 2018-03-07 11:46:47 +01:00
parent dc2ad44562
commit e90b6f5a3b

View File

@ -1952,6 +1952,8 @@ docstring Text::currentState(CursorData const & cur, bool devel_mode) const
if (devel_mode) {
os << _(", Inset: ") << &cur.inset();
if (cur.lastidx() > 0)
os << _(", Cell: ") << cur.idx();
os << _(", Paragraph: ") << cur.pit();
os << _(", Id: ") << par.id();
os << _(", Position: ") << cur.pos();