The LASSERT(isBufferValid()..) leads to crash in find-adv dialog
case hullMultline:
return 'c';
case hullGather:
case hullMultline:
return 'c';
case hullGather:
+ #if 0
+ // Partly revert 44816adce63
+ // because the following test leads to crash
+ // Open a new lyx-file
+ // select findadv dialog
+ // in the search-field enter math
+ // use math-mutate gather ===> crash (because isValidBuffer() == false)
LASSERT(isBufferValid(),
LYXERR0("Buffer not set correctly. Please report!");
return 'c';);
LASSERT(isBufferValid(),
LYXERR0("Buffer not set correctly. Please report!");
return 'c';);
if (buffer().params().is_math_indent)
return 'l';
else
if (buffer().params().is_math_indent)
return 'l';
else