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

Method cursorPosition

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

Source from the content-addressed store, hash-verified

1235}
1236
1237Edit::Position WorkspaceWidget::cursorPosition()
1238{
1239 Edit::Position pos;
1240 if (auto tabWidget = d->currentTabWidget())
1241 tabWidget->cursorPosition(&pos.line, &pos.column);
1242
1243 return pos;
1244}
1245
1246QString WorkspaceWidget::lineText(const QString &fileName, int line)
1247{

Callers

nothing calls this directly

Calls 1

currentTabWidgetMethod · 0.80

Tested by

no test coverage detected