mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
rename method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20043 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f427215caf
commit
e5c0c385ca
@ -619,7 +619,7 @@ void Tabular::fixCellNums()
|
||||
cell_info[i].back().right_line = true;
|
||||
}
|
||||
|
||||
set_row_column_number_info();
|
||||
updateIndexes();
|
||||
}
|
||||
|
||||
|
||||
@ -650,7 +650,7 @@ void Tabular::appendRow(BufferParams const & bp, idx_type const cell)
|
||||
for (col_type j = 0; j < ncols; ++j)
|
||||
cell_info[row + 1][j].inset->setChange(Change(Change::INSERTED));
|
||||
|
||||
set_row_column_number_info();
|
||||
updateIndexes();
|
||||
}
|
||||
|
||||
|
||||
@ -675,7 +675,7 @@ void Tabular::copyRow(BufferParams const & bp, row_type const row)
|
||||
for (col_type j = 0; j < columnCount(); ++j)
|
||||
cell_info[row + 1][j].inset->setChange(Change(Change::INSERTED));
|
||||
|
||||
set_row_column_number_info();
|
||||
updateIndexes();
|
||||
}
|
||||
|
||||
|
||||
@ -743,7 +743,7 @@ void Tabular::copyColumn(BufferParams const & bp, col_type const column)
|
||||
}
|
||||
|
||||
|
||||
void Tabular::set_row_column_number_info()
|
||||
void Tabular::updateIndexes()
|
||||
{
|
||||
numberofcells = 0;
|
||||
// Count only non-multicol cells plus begin multicol
|
||||
@ -1573,7 +1573,7 @@ void Tabular::read(Buffer const & buf, Lexer & lex)
|
||||
while (!prefixIs(line, "</lyxtabular>")) {
|
||||
l_getline(is, line);
|
||||
}
|
||||
set_row_column_number_info();
|
||||
updateIndexes();
|
||||
}
|
||||
|
||||
|
||||
@ -1612,7 +1612,7 @@ void Tabular::setMultiColumn(Buffer * buffer, idx_type cell,
|
||||
cs.inset->appendParagraphs(buffer, cs1.inset->paragraphs());
|
||||
cs1.inset->clear();
|
||||
}
|
||||
set_row_column_number_info();
|
||||
updateIndexes();
|
||||
}
|
||||
|
||||
|
||||
@ -1650,7 +1650,7 @@ Tabular::idx_type Tabular::unsetMultiColumn(idx_type cell)
|
||||
++result;
|
||||
}
|
||||
}
|
||||
set_row_column_number_info();
|
||||
updateIndexes();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -599,7 +599,7 @@ public:
|
||||
void init(BufferParams const &, row_type rows_arg,
|
||||
col_type columns_arg);
|
||||
///
|
||||
void set_row_column_number_info();
|
||||
void updateIndexes();
|
||||
/// Returns true if a complete update is necessary, otherwise false
|
||||
bool setWidthOfMulticolCell(idx_type cell, int new_width);
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user