| 5375 | } |
| 5376 | |
| 5377 | void |
| 5378 | LayoutViewBase::show_cell (cell_index_type ci, int cellview_index) |
| 5379 | { |
| 5380 | if (cellview_index < 0) { |
| 5381 | return; |
| 5382 | } |
| 5383 | if (int (m_hidden_cells.size ()) > cellview_index) { |
| 5384 | if (m_hidden_cells [cellview_index].erase (ci) > 0) { |
| 5385 | if (transacting ()) { |
| 5386 | manager ()->queue (this, new OpHideShowCell (ci, cellview_index, true /*=show*/)); |
| 5387 | } else if (manager () && ! replaying ()) { |
| 5388 | manager ()->clear (); |
| 5389 | } |
| 5390 | cell_visibility_changed_event (); |
| 5391 | redraw (); // needs redraw |
| 5392 | } |
| 5393 | } |
| 5394 | } |
| 5395 | |
| 5396 | void |
| 5397 | LayoutViewBase::show_all_cells (int cv_index) |
no test coverage detected