| 1035 | } |
| 1036 | |
| 1037 | QString WorkspaceWidget::selectedText() const |
| 1038 | { |
| 1039 | Q_ASSERT(QThread::currentThread() == qApp->thread()); |
| 1040 | |
| 1041 | if (auto tabWidget = d->currentTabWidget()) |
| 1042 | return tabWidget->selectedText(); |
| 1043 | |
| 1044 | return ""; |
| 1045 | } |
| 1046 | |
| 1047 | QString WorkspaceWidget::cursorBeforeText() const |
| 1048 | { |
nothing calls this directly
no test coverage detected