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

Method cursorPosition

src/plugins/codeeditor/gui/tabwidget.cpp:1015–1022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1013}
1014
1015void TabWidget::cursorPosition(int *line, int *index)
1016{
1017 if (!line || !index)
1018 return;
1019
1020 if (auto editor = d->currentTextEditor())
1021 editor->getCursorPosition(line, index);
1022}
1023
1024TextEditor *TabWidget::currentEditor() const
1025{

Callers 10

startMethod · 0.45
wordPostionMethod · 0.45
renameActionTriggeredMethod · 0.45
handleFollowCursorMethod · 0.45
setTextMethod · 0.45
gotoPreviousPositionMethod · 0.45
doReplaceAllMethod · 0.45
findStringMethod · 0.45

Calls 2

currentTextEditorMethod · 0.80
getCursorPositionMethod · 0.80

Tested by

no test coverage detected