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

Method currentLineNumber

src/plugins/codeeditor/gui/texteditor.cpp:344–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344int TextEditor::currentLineNumber()
345{
346 auto num = SendScintilla(SCI_LINEFROMPOSITION, SendScintilla(SCI_GETCURRENTPOS));
347 return static_cast<int>(num);
348}
349
350void TextEditor::gotoLine(int line)
351{

Callers 2

gotoNextMarkMethod · 0.80
gotoPreviousMarkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected