| 167 | } |
| 168 | |
| 169 | static void cv_show_cell (lay::CellViewRef *cv, const db::Cell *cell) |
| 170 | { |
| 171 | if (cv->is_valid () && cell) { |
| 172 | if (cell->layout () != &(*cv)->layout ()) { |
| 173 | throw tl::Exception (tl::to_string (tr ("The cell is not a cell of the view's layout"))); |
| 174 | } |
| 175 | cv->view ()->show_cell (cell->cell_index (), cv->index ()); |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | static void cv_show_all_cells (lay::CellViewRef *cv) |
| 180 | { |