- void insertChar(lyx::pos_type pos, value_type c, Change const & change);
- ///
- void insertInset(lyx::pos_type pos, InsetBase * inset, Change const & change);
- /// definite erase
- void eraseIntern(lyx::pos_type pos);
- /// erase the given position. Returns true if it was actually erased
- bool erase(lyx::pos_type pos);
- /// erase the given range
- int erase(lyx::pos_type start, lyx::pos_type end);
+ void insertInset(pos_type pos, InsetBase * inset, Change const & change);
+ /// (logically) erase the char at pos; return true if it was actually erased
+ bool eraseChar(pos_type pos, bool trackChanges);
+ /// (logically) erase the given range; return the number of chars actually erased
+ int eraseChars(pos_type start, pos_type end, bool trackChanges);