]> git.lyx.org Git - features.git/commit
Substack should not be allowed to change columns
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 21 Nov 2022 09:43:08 +0000 (10:43 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 21 Nov 2022 11:08:17 +0000 (12:08 +0100)
commit593bfe248a15be99bfce7e12cde6c59c92951f5f
tree6dd3873ff80eeb4a6c844747b3d0c752ab7d00bd
parent1482e174df20b31e1edc93899e31459053c01ee8
Substack should not be allowed to change columns

Disable the arguments append-column and delete-column of tabular-features.

The code is taken from InsetMathCases, with some changes
* no need to record undo here
* in dispatch, return is prefered to break, since we do not want to invoke
  InsetMathGrid::doDispatch.
Propagate these changes to InsetMathCases.

Cleanup of the InsetMathCases error messages to fit with other parts
of the code.

The handling of tabular-features in mathed needs to be unified somehow.

Based on a commit from lynx <lorenzobertini97@gmail.com>

Part of bug #12590.
src/mathed/InsetMathCases.cpp
src/mathed/InsetMathSubstack.cpp
src/mathed/InsetMathSubstack.h