-Change::Type Changes::lookup(pos_type pos) const
-{
- if (!table_.size()) {
- if (lyxerr.debugging(Debug::CHANGES))
- lyxerr[Debug::CHANGES] << "Empty, type is " << empty_type_ << endl;
- return empty_type_;
- }
-
- ChangeTable::const_iterator it = table_.begin();
- ChangeTable::const_iterator end = table_.end();
-
- for (; it != end; ++it) {
- if (it->range.contains(pos))
- return it->change.type;
- }
-
- check();
- lyx::Assert(0);
- return Change::UNCHANGED;
-}
-
-
-bool Changes::isChange(pos_type start, pos_type end) const