commit | 5d3e556a075ee53131e9fa70aef1bbc893aee66a | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Thu Feb 24 16:49:19 2022 -0800 |
committer | swissChili <swisschili@fastmail.com> | Thu Feb 24 16:49:19 2022 -0800 |
tree | 23b2952601e0af8b0e4a87601a0eee7dc445a695 | |
parent | d85daa98cbbd221721e66d5445eea005970c50ce [diff] [blame] |
Add AssertionException, specialize pprint
diff --git a/ide/CellModel.cpp b/ide/CellModel.cpp index 8271c87..0aa29bb 100644 --- a/ide/CellModel.cpp +++ b/ide/CellModel.cpp
@@ -147,6 +147,11 @@ addCell(Cell(code, result)); } +void CellModel::insertCellBefore(int index) +{ + insertRow(index); +} + void CellModel::announceCellChange(Cell *cell, int role) { // TODO: Optimize