| 271 | } |
| 272 | |
| 273 | void PreviewEditorWindow::onWindowResize() |
| 274 | { |
| 275 | Window::onWindowResize(); |
| 276 | |
| 277 | DocumentView* view = UIContext::instance()->activeView(); |
| 278 | if (view) |
| 279 | updateUsingEditor(view->editor()); |
| 280 | } |
| 281 | |
| 282 | bool PreviewEditorWindow::hasDocument() const |
| 283 | { |
nothing calls this directly
no test coverage detected