case hullMultline:
return 'c';
case hullGather:
- LASSERT(isBufferValid(),
- LYXERR0("Buffer not set correctly. Please report!");
- return 'c';);
+ if (!isBufferValid()) {
+ LYXERR0("Buffer not set correctly. Please report!");
+ return 'c';
+ }
if (buffer().params().is_math_indent)
return 'l';
else
// than the one protected by UpdateLocker.
docstring const & display = d->macro_->display();
docstring const latexname = from_ascii("\\") + macroName();
- bool const ret = d->macro_->expand(values, d->expanded_);
- d->expanded_.setBuffer(buffer());
- if (ret && !support::contains(display, latexname)) {
+ if (d->macro_->expand(values, d->expanded_)
+ && !support::contains(display, latexname)) {
if (utype == OutputUpdate && !d->expanded_.empty())
d->expanded_.updateMacros(cur, mc, utype, nesting);
}
- Fix bad caret position when row scrolls horizontally (bug 11603).
-- Fix crash when inserting some macros (bug 11686).
+- Fix crash when inserting some insets in math split insets (bug 11686).
-- Avoid future crashes with math split insets by adding an extra test.
-
-- Properly remember cursor posoiton when many files have been opened
+- Properly remember cursor position when many files have been opened
(bug 10310).