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

Method handleGotoPosition

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

Source from the content-addressed store, hash-verified

865}
866
867void WorkspaceWidgetPrivate::handleGotoPosition(const QString &fileName, int line, int column)
868{
869 auto tabWidget = currentTabWidget();
870 if (!tabWidget)
871 return;
872
873 tabWidget->openFile(fileName);
874 tabWidget->gotoPosition(line, column);
875}
876
877void WorkspaceWidgetPrivate::handleCloseCurrentEditor()
878{

Callers

nothing calls this directly

Calls 2

openFileMethod · 0.45
gotoPositionMethod · 0.45

Tested by

no test coverage detected