laughinghan/mathquill — comment on commit 1093f1e077fa5e0adfa768a4aa17078273c544f5
File: src/tree.js line 125
By laughinghan:

`append` and `prepend` are bad names for this, the jQuery method names `before` and `after` come closer.

However, I don't believe these methods would be used at all, the only interstices there are gonna be are `Cursor`s and anticursors. `Cursor`s are only `insert*`ed and `*pend`ed; the idea I had when I put them in `tree.js` was that instead of how currently `Cursor` has all four of these methods, instead `Cursor` could just override `insertAt` and it'd be known that `insert*` and `*pend` call them, so `Cursor` would just get those for free. Anticursors will in fact only ever be `insertAt` the position of the current cursor (they're for selections, remember?)