return;
pit_type pit = bv->cursor().selBegin().pit();
- Paragraph const & par = bv->buffer().text().getPar(pit);
+ Paragraph const & par = bv->cursor().text()->getPar(pit);
docstring const curlayout = par.layout().name();
docstring outerlayout;
depth_type current_depth = par.params().depth();
if (pit == 0 || cpar.params().depth() == 0)
break;
--pit;
- cpar = bv->buffer().text().getPar(pit);
+ cpar = bv->cursor().text()->getPar(pit);
if (cpar.params().depth() < current_depth
&& cpar.layout().isEnvironment()) {
outerlayout = cpar.layout().name();
* USER INTERFACE
+- Fix crash when right-clicking into an insets with more paragraphs than the
+ main text (bug 9123).
+
- Fix crash when entering math in change-tracking mode while merge changes
dialog is open (bug 7685).