Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Codeya-IDE/deepin-ide
/ currentDocumentContent
Method
currentDocumentContent
src/plugins/codeeditor/gui/tabwidget.cpp:491–497 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
489
}
490
491
QString TabWidget::currentDocumentContent() const
492
{
493
if (auto editor = d->currentTextEditor())
494
return editor->text();
495
496
return
""
;
497
}
498
499
QString TabWidget::selectedText() const
500
{
Callers
1
registerVariables
Method · 0.45
Calls
2
currentTextEditor
Method · 0.80
text
Method · 0.45
Tested by
no test coverage detected