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

Method currentEditor

src/plugins/codeeditor/symbol/symbollocator.cpp:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44TextEditor *SymbolLocatorPrivate::currentEditor()
45{
46 auto tabWidget = workspace->currentTabWidget();
47 if (!tabWidget)
48 return nullptr;
49
50 return tabWidget->currentEditor();
51}
52
53void SymbolLocatorPrivate::createSymbolItem(const newlsp::DocumentSymbol &symbol)
54{

Callers 2

prepareSearchMethod · 0.45
acceptMethod · 0.45

Calls 1

currentTabWidgetMethod · 0.80

Tested by

no test coverage detected