MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / selectedText

Method selectedText

src/plugins/codeeditor/gui/workspacewidget.cpp:1037–1045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1035}
1036
1037QString 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
1047QString WorkspaceWidget::cursorBeforeText() const
1048{

Callers

nothing calls this directly

Calls 1

currentTabWidgetMethod · 0.80

Tested by

no test coverage detected