MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / insertAtomIntoCol

Method insertAtomIntoCol

src/core/formula.cpp:286–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286void ArrayOfAtoms::insertAtomIntoCol(int col, const sptr<Atom>& atom) {
287 _col++;
288 for (size_t j = 0; j < _row; j++) {
289 auto it = _array[j].begin();
290 _array[j].insert(it + col, atom);
291 }
292}
293
294void ArrayOfAtoms::addRow() {
295 addCol();

Callers 1

parsePositionsMethod · 0.80

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected