| 108 | } |
| 109 | |
| 110 | void MainWindowPrivate::split(Qt::Orientation orientation) |
| 111 | { |
| 112 | if (!m_mainWindow->area()) |
| 113 | return; |
| 114 | Sublime::View *view = m_mainWindow->activeView(); |
| 115 | if (!view) |
| 116 | return; |
| 117 | |
| 118 | Sublime::View *newView = view->document()->createView(); |
| 119 | m_mainWindow->area()->addView(newView, view, orientation); |
| 120 | |
| 121 | m_mainWindow->activateView(newView); |
| 122 | } |
| 123 | |
| 124 | static void gotoPrevNextSplit(bool next) |
| 125 | { |
nothing calls this directly
no test coverage detected