Inset::display() seems to have gone from non-mathed insets, but there's
still some references around. What's the status ?

How are display math insets etc. centred these days ?

Hmm, I see "center_indent" :

     60         InsetCommand::metrics(mi, dim);
     61         center_indent_ = (mi.base.textwidth - dim.wid) / 2;
     62         dim.wid = mi.base.textwidth;
     63         dim_ = dim;

Can I say "ouch" ? hitInset() isn't going to like the inset claiming it
takes up the whole row, I don't think. Can we still place the cursor
next to such a centred inset without problems ? I suspect not.

regards
john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.

Reply via email to