mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
* InsetTabular.cpp:
- comment out non-working code that can trigger an assertion (probably bug 5225). (this code also does not work as expected in branch, but it doesn't act as badly there) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26407 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7bbb01f8b6
commit
eb3ab2f3d0
@ -691,10 +691,14 @@ void Tabular::appendColumn(idx_type const cell)
|
||||
for (row_type r = 0; r < nrows; ++r) {
|
||||
cell_info[r].insert(cell_info[r].begin() + c + 1,
|
||||
CellData(buffer()));
|
||||
#if 0
|
||||
// FIXME: This code does not work. It deletes the cell's content and
|
||||
// it triggers an assertion if the cursor is at pos > 0.
|
||||
if (cell_info[r][c].multicolumn == CELL_BEGIN_OF_MULTICOLUMN)
|
||||
cell_info[r][c + 1].multicolumn = CELL_PART_OF_MULTICOLUMN;
|
||||
else
|
||||
cell_info[r][c + 1].multicolumn = cell_info[r][c].multicolumn;
|
||||
#endif
|
||||
}
|
||||
updateIndexes();
|
||||
for (row_type r = 0; r < nrows; ++r) {
|
||||
|
Loading…
Reference in New Issue
Block a user