MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / addUndoStateCell

Method addUndoStateCell

src/csvwindow.cpp:760–767  ·  view source on GitHub ↗

* Stores just a single cell as an Undo state */

Source from the content-addressed store, hash-verified

758 * Stores just a single cell as an Undo state
759 */
760void CsvWindow::addUndoStateCell(std::string cellContent, int R, int C, std::string descr) {
761 if( undoDisabled )
762 return;
763 CsvUndo ustate;
764 ustate.createUndoStateCell(cellContent, R, C, table->customHeaderRowShown(), descr);
765 undoList.push_back(ustate);
766 app.setUndoMenuItem(true);
767}
768
769
770

Callers 4

setValueHideMethod · 0.80
deleteSelectionMethod · 0.80
pasteMethod · 0.80
editSingleCellMethod · 0.80

Calls 4

createUndoStateCellMethod · 0.80
customHeaderRowShownMethod · 0.80
push_backMethod · 0.80
setUndoMenuItemMethod · 0.80

Tested by

no test coverage detected