| 44 | } |
| 45 | |
| 46 | void MockedDocumentInfo::erase(TextPosition start, TextPosition length) { |
| 47 | cur.data.erase(cur.data.begin() + start, cur.data.begin() + start + length); |
| 48 | cur.style.erase(cur.style.begin() + start, |
| 49 | cur.style.begin() + start + length); |
| 50 | } |
| 51 | |
| 52 | void MockedDocumentInfo::save_state() { past.push_back(cur); } |
| 53 |
no test coverage detected