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

Method handleGotoLine

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

Source from the content-addressed store, hash-verified

855}
856
857void WorkspaceWidgetPrivate::handleGotoLine(const QString &fileName, int line)
858{
859 auto tabWidget = currentTabWidget();
860 if (!tabWidget)
861 return;
862
863 tabWidget->openFile(fileName);
864 tabWidget->gotoLine(line);
865}
866
867void WorkspaceWidgetPrivate::handleGotoPosition(const QString &fileName, int line, int column)
868{

Callers

nothing calls this directly

Calls 2

openFileMethod · 0.45
gotoLineMethod · 0.45

Tested by

no test coverage detected