| 305 | } |
| 306 | |
| 307 | void Editor::resetNavigationData() |
| 308 | { |
| 309 | d_currentLandmark.reset(); |
| 310 | d_backLandmarks.clear(); |
| 311 | d_forwardLandmarks.clear(); |
| 312 | |
| 313 | Q_EMIT goBackAvailable(false); |
| 314 | Q_EMIT goForwardAvailable(false); |
| 315 | } |
| 316 | |
| 317 | void Editor::goToBlock(const QTextCursor& targetCursor, bool takeFocus) |
| 318 | { |