MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / currentNodeIndex

Method currentNodeIndex

src/editor.cpp:716–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714}
715
716int RcxEditor::currentNodeIndex() const {
717 int line, col;
718 m_sci->getCursorPosition(&line, &col);
719 auto* lm = metaForLine(line);
720 return lm ? lm->nodeIdx : -1;
721}
722
723void RcxEditor::scrollToNodeId(uint64_t nodeId) {
724 for (int i = 0; i < m_meta.size(); i++) {

Callers 2

addNodeMethod · 0.80
duplicateNodeActionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected