MCPcopy 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
491QString TabWidget::currentDocumentContent() const
492{
493 if (auto editor = d->currentTextEditor())
494 return editor->text();
495
496 return "";
497}
498
499QString TabWidget::selectedText() const
500{

Callers 1

registerVariablesMethod · 0.45

Calls 2

currentTextEditorMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected