]> git.lyx.org Git - features.git/commit
Fix multicolumn regression (bug #9788)
authorGeorg Baum <baum@lyx.org>
Sat, 10 Oct 2015 16:58:18 +0000 (18:58 +0200)
committerGeorg Baum <baum@lyx.org>
Sat, 10 Oct 2015 16:58:18 +0000 (18:58 +0200)
commit96f64ac028b305707c2876b5503359709e0dc3e7
tree44e398f5170be7062f5e6c9912b399b428ecf9df
parentda5e4606d12a2b4521e5e5e66f80552bfa871039
Fix multicolumn regression (bug #9788)

The test case did show several problems:
- The alignment argument was not parsed correctly if it was not in braces
- There one column too much created, since I did not take into account that
  the current cell must bge replaced by the multicolumn cell
- If the last line of an array contained only an empty multicolumn cell, then
  the complete multicolumn was swallowed
- The decision whether to output the column separator & was sometimes wrong
  for multicolumns
src/mathed/InsetMathGrid.cpp
src/mathed/MathParser.cpp